Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Looking for script
Looking for script [message #480583] Mon, 29 April 2013 18:30 Go to next message
escelade3 is currently offline  escelade3
Messages: 57
Registered: March 2005
Karma: 0
Recruit
Alright so I am looking for a script that will make an object disappear or move to a different location when a building gets destroyed.

I tried looking through the tiberian technologies script website but couldn't figure out if there was one that would work.


http://img391.imageshack.us/img391/1549/esc2hc.gif
Re: Looking for script [message #480584 is a reply to message #480583] Mon, 29 April 2013 19:48 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

JFW_Death_Destroy_Object can go on a building controller and when the building is destroyed, the object with the specified ID will also be destroyed.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: Looking for script [message #480588 is a reply to message #480583] Tue, 30 April 2013 06:39 Go to previous messageGo to next message
escelade3 is currently offline  escelade3
Messages: 57
Registered: March 2005
Karma: 0
Recruit


That is exactly what I was looking for Big Ups

Now I just have one more question about this script. My object is under the tiles setting in Level edit because it is an animation. It won't disappear when the building gets destroyed. I tried making my animation under the objects presets but it won't show up now.

Any thoughts?


http://img391.imageshack.us/img391/1549/esc2hc.gif

[Updated on: Tue, 30 April 2013 08:20]

Report message to a moderator

Re: Looking for script [message #480590 is a reply to message #480583] Tue, 30 April 2013 09:48 Go to previous message
escelade3 is currently offline  escelade3
Messages: 57
Registered: March 2005
Karma: 0
Recruit
Figured it out, zunnie helped me use another script on the object to make it animate.

Thanks guys for the help Thumbs Up


http://img391.imageshack.us/img391/1549/esc2hc.gif
Previous Topic: rigging char in 3ds help
Next Topic: How to start modding server-side
Goto Forum:
  


Current Time: Wed Dec 18 16:34:49 MST 2024

Total time taken to generate the page: 0.00650 seconds