Aschbourne_PRC8/_module/schrecall.nss
GetOffMyYarn 8622e5ce08 Area Changes and other fixes
added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
2024-08-30 10:38:04 -04:00

16 lines
586 B
Plaintext

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