Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » script question
script question [message #24021] Sun, 08 June 2003 03:03 Go to previous messageGo to previous message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma:
General (1 Star)
Attach JFW_Death_Send_Custom to the building that you want to destroy another when it is destroyed. See below for the settings.

JFW_Death_Send_Cusom
ID = The ID of the daves arrow i mention below.
Message = Any number, 16 for example
Paramater = none, leave it blank, try 1 if this doesn't work.

Attach JFW_Custom_Destroy_Building to a dave's arrow. This is used as a receiver and will destroy the building when it receives a custom specified. See the parameters below.
ID = the building controllers ID you wish to destroy.
Message = The message you specified in the script before, 16 for example

As you can see the script works in two parts. the building that gets destroyed sends a signal to a dave's arrow then destroys another building. The use of daves arrow means that you can set the script to also destroy another building when the second one is destroyed or destroy the first one when the second one is destroyed and so on.

If you need any more help, let me know.

_General Havoc


Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Giving Harvesters Keycards
Next Topic: BF42 Update,
Goto Forum:
  


Current Time: Wed Dec 25 19:36:47 MST 2024

Total time taken to generate the page: 0.00722 seconds