22 lines
432 B
Plaintext
22 lines
432 B
Plaintext
void main()
|
|
{
|
|
|
|
object oPC = GetLastUsedBy();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
object oTarget;
|
|
location lTarget;
|
|
oTarget = GetObjectByTag("sha_myratherend_p1");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
if (GetAreaFromLocation(lTarget)==OBJECT_INVALID) return;
|
|
|
|
AssignCommand(oPC, ClearAllActions());
|
|
|
|
AssignCommand(oPC, ActionJumpToLocation(lTarget));
|
|
SendMessageToPC(oPC, "You have been elevated to the middle branches of the White Tree");
|
|
|
|
}
|