26 lines
810 B
Plaintext
26 lines
810 B
Plaintext
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)));
|
|
} */
|
|
}
|