19 lines
396 B
Plaintext
19 lines
396 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oClicker = GetClickingObject();
|
||
|
object oTarget = GetTransitionTarget(OBJECT_SELF);
|
||
|
location lLoc = GetLocation(oTarget);
|
||
|
object oWP = GetObjectByTag("wp_kotoll");
|
||
|
object oMod = GetModule();
|
||
|
int nMod= GetCampaignInt("released","status",oMod);
|
||
|
|
||
|
if(nMod == 1)
|
||
|
{
|
||
|
AssignCommand(oClicker,JumpToObject(oWP));
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
AssignCommand(oClicker,JumpToLocation(lLoc));
|
||
|
}
|
||
|
}
|