Aschbourne_PRC8/_module/nss/evclrecall.nss

16 lines
586 B
Plaintext
Raw Permalink Normal View History

2024-06-14 10:48:20 -04:00
void main()
{
object oPortal = GetObjectByTag("NW_RECALL_PORTAL_02");
if(GetIsObjectValid(oPortal) == TRUE)
{
SetLocalInt(GetItemActivator(), "NW_L_USED_RECALL", 1);
SetLocalLocation(GetItemActivator(), "NW_L_LOC_RECALL", GetLocation(GetItemActivator()));
object oClicker = GetItemActivator();
AssignCommand(oClicker, ClearAllActions());
AssignCommand(oClicker, PlaySound("as_mg_telepout1"));
AssignCommand(oClicker,JumpToObject(oPortal));
AssignCommand(oClicker, ActionDoCommand(ClearAllActions()));
}
}