View unanswered posts | View active topics It is currently Wed Dec 25, 2024 5:49 pm



Reply to topic  [ 2 posts ] 
 ToDelete and ToSettle? 
Author Message

Joined: Tue Dec 04, 2012 1:31 am
Posts: 45
Reply with quote
Post ToDelete and ToSettle?
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
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post 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.


Fri Mar 08, 2013 5:54 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.044s | 13 Queries | GZIP : Off ]