Fixed Nicky's store
Fixed Nicky's store. Made Dirt Mounds & Polar Bears respawn. Full compile.
This commit is contained in:
13
_module/nss/plc_respawn_od.nss
Normal file
13
_module/nss/plc_respawn_od.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
void RespawnPlaceable(location lSpawn)
|
||||
{
|
||||
object oNew = CreateObject(OBJECT_TYPE_PLACEABLE, GetResRef(OBJECT_SELF), lSpawn);
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
object oSelf = OBJECT_SELF;
|
||||
location lSpawn = GetLocation(oSelf);
|
||||
|
||||
DestroyObject(oSelf, 0.0);
|
||||
DelayCommand(7200.0, RespawnPlaceable(lSpawn));
|
||||
}
|
||||
Reference in New Issue
Block a user