Initial upload
Initial upload
This commit is contained in:
25
_module/nss/xx_cb_solar.nss
Normal file
25
_module/nss/xx_cb_solar.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
void main()
|
||||
{
|
||||
/* object oPlayer = GetEnteringObject();
|
||||
|
||||
location lPlayer = GetCampaignLocation("PlayerData","Location",oPlayer);
|
||||
if(GetIsObjectValid(GetAreaFromLocation(lPlayer)))
|
||||
{
|
||||
if(GetLocalInt(oPlayer,"BypassLocation") == 0)
|
||||
{
|
||||
AssignCommand(oPlayer,ActionDoCommand(JumpToLocation(lPlayer)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if(GetLocalInt(oPlayer,"Dead")==1)
|
||||
{
|
||||
effect Deathstroke = EffectDeath(TRUE);
|
||||
AssignCommand(oPlayer,ActionDoCommand(ApplyEffectToObject(DURATION_TYPE_INSTANT,Deathstroke,oPlayer)));
|
||||
}
|
||||
else if (GetCampaignInt("PlayerData","Dead",oPlayer) == 1)
|
||||
{
|
||||
effect Deathstroke = EffectDeath(TRUE);
|
||||
AssignCommand(oPlayer,ActionDoCommand(ApplyEffectToObject(DURATION_TYPE_INSTANT,Deathstroke,oPlayer)));
|
||||
} */
|
||||
}
|
||||
Reference in New Issue
Block a user