scn RemoveCorpseSCRIPTfloat timershort ModeBegin onDeath set timer to 300 ; number of seconds before corpse disappears set mode to 1 EndBegin GameMode if timer >= 0 set timer to timer - GetSecondsPassed return endif if Mode == 0 return endif if Mode == 1 ActorREF.disable ; same name as persistent reference ID for the actor disappearing. endifEnd
scn RemoveCorpseSCRIPTfloat timershort ModeBegin onDeath set timer to 300 ; number of seconds before corpse disappears set mode to 1 EndBegin GameMode if timer >= 0 set timer to timer - GetSecondsPassed return endif if Mode == 0 return endif if Mode == 1 ActorREF.disable ; same name as persistent reference ID for the actor disappearing. endifEnd