WoR_PRC8/_module/nss/s_vaudept.nss

21 lines
376 B
Plaintext
Raw Permalink Normal View History

2025-04-03 11:49:34 -04:00
void main()
{
object oPC = GetLastUsedBy();
if (!GetIsPC(oPC)) return;
object oTarget;
location lTarget;
oTarget = GetWaypointByTag("P_VaudePT");
lTarget = GetLocation(oTarget);
if (GetAreaFromLocation(lTarget)==OBJECT_INVALID) return;
DelayCommand(3.0 , AssignCommand(oPC, ClearAllActions()));
DelayCommand(3.0 , AssignCommand(oPC, ActionJumpToLocation(lTarget)));
}