UW2_PRC8/_module/nss/port2guild1.nss

21 lines
376 B
Plaintext
Raw Permalink Normal View History

2023-09-25 20:24:01 -04:00
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));
}