Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Hello
Re: Hello [message #326419 is a reply to message #326418] Wed, 16 April 2008 10:03 Go to previous messageGo to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma:
General (3 Stars)
SSnipe wrote on Wed, 16 April 2008 12:53

reborn wrote on Wed, 16 April 2008 07:54

Not that I know of, but you could edit the ssgm_player script so that all the drop weapons code is also added to the ::Destroyed event, and add a little explosion at the same position as the player GameObject *.

i looked at the scripts...i think i understand some of what u said but just a little stuck


ATM the drop weapon code is on the ::Killed event (I think, working from memory here Razz), change it so that it is on the ::Destroyed event of SSGM_Player instead. This way when a player leaves it will happen too. You will also have to create an explosion too, this won't be too much extra work as the drop weapon already gets the Vector position for where to crate the weapon drop, so just use that position for the explosion too.



 
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: Adding colored lights in RenX to a building
Next Topic: Vechile/Harvester Help
Goto Forum:
  


Current Time: Fri Jan 24 03:04:16 MST 2025

Total time taken to generate the page: 0.00801 seconds