Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Gameover when object killed
Gameover when object killed [message #397131] Wed, 05 August 2009 15:41 Go to next message
Shinja is currently offline  Shinja
Messages: 17
Registered: July 2009
Karma: 0
Recruit
Hey,
I wonder if it's possible to modify an object so that the team of the player that kills the object automatically wins. Plz help :S
Re: Gameover when object killed [message #397145 is a reply to message #397131] Wed, 05 August 2009 18:44 Go to previous messageGo to next message
dr3w2 is currently offline  dr3w2
Messages: 485
Registered: September 2006
Location: Ottawa,Canada
Karma: 0
Commander
Attach a script to the specific object and when it's destroyed do a Destroy_Base() ?

n00bstories Server Administrator
Re: Gameover when object killed [message #397151 is a reply to message #397131] Wed, 05 August 2009 21:12 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
Okay first, place a daves arrow on the map.
Second attach the script "JFW_Custom_Destroy_Building" to the daves arrow (also get the objects ID).
For the params of this script give it:
Message = 8686537
ID = Id of the building you wish to destroy
Fourth double click on the object you want to destroy and click on the scripts tab, and attach the script "JFW_Death_Send_Custom" to it.
For the params of this script give it:
ID = ID of the daves arrow
Message = 8686537
Param = 1

not sure if there is a script that destroys all buildings put you could easily make one.


http://s18.postimage.org/jc6qbn4k9/bricks3.png
Re: Gameover when object killed [message #397160 is a reply to message #397131] Thu, 06 August 2009 01:56 Go to previous message
Shinja is currently offline  Shinja
Messages: 17
Registered: July 2009
Karma: 0
Recruit
That works but it seems like it doesn't on mission maps.

There's a script called JFW_Custom_Destroy_all_buildings. How do i get that to work?
Previous Topic: skinning contest
Next Topic: Cinematics Tutorial Request
Goto Forum:
  


Current Time: Mon Nov 11 00:01:45 MST 2024

Total time taken to generate the page: 0.02853 seconds