21 lines
548 B
Plaintext
21 lines
548 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oPC = GetLastUsedBy();
|
||
|
string oTag = GetTag(OBJECT_SELF);
|
||
|
object oTarget;
|
||
|
if(oTag == "SHA_DROW_SECRETG2")
|
||
|
{
|
||
|
oTarget = GetWaypointByTag("PT_SHA_DROW_SECRETG");
|
||
|
AssignCommand(oPC, ClearAllActions());
|
||
|
AssignCommand(oPC, JumpToLocation(GetLocation(oTarget)));
|
||
|
return;
|
||
|
}
|
||
|
else if(oTag == "SHA_DROW_SECRETG")
|
||
|
{
|
||
|
|
||
|
oTarget = GetWaypointByTag("PT_SHA_DROW_SECRETG2");
|
||
|
AssignCommand(oPC, ClearAllActions());
|
||
|
AssignCommand(oPC, JumpToLocation(GetLocation(oTarget)));
|
||
|
}
|
||
|
}
|