Shargast_PRC8/_module/Chapter 2/nss/npc_lilac_spawn.nss
Jaysyn904 66a0a3e043 Initial commit
Initial commit.
2024-08-03 14:13:18 -04:00

22 lines
378 B
Plaintext

float fDelay=320.0f;//CHANGE
string sSelf=GetResRef(OBJECT_SELF);
int nType=GetObjectType(OBJECT_SELF);
location lLoc=GetLocation(OBJECT_SELF);
void main()
{
object oMod=GetModule();
SetLocalString(oMod, "resref", sSelf);
SetLocalInt(oMod, "type", nType);
SetLocalLocation(oMod, "location", lLoc);
SetLocalFloat(oMod, "delay", fDelay);
ExecuteScript("respawn", oMod);
}