Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Music
Re: Music [message #271718 is a reply to message #271717] Sun, 08 July 2007 14:22 Go to previous messageGo to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma:
General (3 Stars)
joe937465 wrote on Sun, 08 July 2007 16:47

the other question was you know how when a character dies it drops a weapon? how can i make it so a guard tower or turret drops something on death?



Pretty easy to do in the scripts.dll source code, but even easier in level edit.

Go to the preset tree and hit mod on the preset that you want to drop something when it dies.
Go to the scripts tab, and add one. Scroll to the bottom of the scripts list and there will be one called something like "tdx_spawn_when_killed" or perhaps tfx, i cant remeber. There is an input parameter on this script, you simply put in the preset name you want to create when it is killed. Leave the vector position as it is if you want it to spawn at it's death place.



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: BETA SSGM plug-in
Next Topic: Roleplay 2 mod needs YOUR help!
Goto Forum:
  


Current Time: Mon Dec 23 09:25:02 MST 2024

Total time taken to generate the page: 0.00878 seconds