Aschbourne_PRC8/_module/nss/vamprecallstone.nss
Jaysyn904 f5ffe7d0b9 Module commit
Module commit.
2024-06-14 10:48:20 -04:00

16 lines
581 B
Plaintext

void main()
{
object oPortal = GetObjectByTag("vamp_recall_wp");
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()));
}
}