void main() { object oPC = GetPCSpeaker(); SetLocalInt(GetPCSpeaker(), "NW_I_DIED", 0); ActionCastFakeSpellAtObject(SPELL_FREEDOM_OF_MOVEMENT, OBJECT_SELF); AssignCommand(GetPCSpeaker(), DelayCommand(0.5, JumpToLocation(GetLocalLocation(oPC,"NW_I_DIED_HERE")))); }