View Single Post
Old 04-15-2003, 04:21 AM   #5 (permalink)
CopyKat
Senior Member
 
Join Date: Mar 2003
Location: Netherlands
Posts: 139
Default

My guess would be the fact that he's trying to create a bomb-like structure, or use it to restrict use of certain objects...

To be more precise on the code:

Quote:
Behavior = LifeTimeUpdate ModuleTag_XX
MinLifeTime = 4000
MaxLifeTime = 4000
End
The XX's mark the spot where you can put it in a unique number for the module that isn't used by other modules for that object.

This makes the object explode (well, it will use the state defined for when it is killed). In case you want a more quiet experience:

Quote:
Behavior = DeletionUpdate ModuleTag_XX
MinLifeTime = 4000
MaxLifeTime = 4000
End
This will just make the object vanish without sounds or whatever.

Note: I'm doing this by pure memory. Hence, there might be an error in my code as it is stated. Check carefully with existing objects/modules to see whether the code is correct (rubble and hulks often use either the explosion or deletion module).
CopyKat is offline   Reply With Quote