I'm trying to create an actor that will despawn on death and not leave a corpse behind, or alternatively after a time limit will simply just settle. What's the lua command to make this happen? I can't seem to figure it out.
Fri Mar 08, 2013 4:18 am
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
Re: ToDelete and ToSettle?
On the actor, you could have a script that deletes the actor (self.ToDelete = true) when the actor's health is 0 or below, and make sure that the actor and its limbs don't have gibs.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum