21 lines
376 B
Plaintext
21 lines
376 B
Plaintext
|
location lTarget;
|
||
|
object oTarget;
|
||
|
|
||
|
//Put this on action taken in the conversation editor
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
oTarget = GetWaypointByTag("guildway");
|
||
|
|
||
|
lTarget = GetLocation(oTarget);
|
||
|
|
||
|
if (GetAreaFromLocation(lTarget)==OBJECT_INVALID) return;
|
||
|
|
||
|
AssignCommand(oPC, ClearAllActions());
|
||
|
|
||
|
AssignCommand(oPC, ActionJumpToLocation(lTarget));
|
||
|
|
||
|
}
|