Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Script Question
Re: Script Question [message #166947 is a reply to message #166934] Sat, 20 August 2005 05:04 Go to previous message
Halo38 is currently offline  Halo38
Messages: 955
Registered: February 2003
Location: UK
Karma:
Colonel
I'm not 100% certain on this, but..

Think of it like sending and reciveing, you need 2 scripts one to send a message (a custom) defined by yourself (like '5' in your example) and one script to recieve and carry out an action this script would only execute on a certain message being recived

a message could be sent by a character dieing, entering a script zone or a game beginning etc... depending on what the script is and what it is attached to

If you go through the scripts read mes you'll see some like

JFW_Death_Send_Custom
(this script sends a message when whatever its attatched to dies, use with JFW_Custom_Destroy_Object to destroy 1 object when another object dies)

ID (the ID of the object to send the message to)
Message (the message to send)
Param (the paramater to pass)

This would be your 'sending script'


Online Portfolio - www.chettle1.com

Renegade projects - Halo38's Den hosted by www.laeubi.de

Creator of : C&C_Arid, C&C_Ancients, C&C_Bio, C&C_Duel Arena

Mod Wars Veteran
 
Read Message
Read Message
Previous Topic: Removing Timed C4 with scripts
Next Topic: .w3d
Goto Forum:
  


Current Time: Sat Oct 05 03:27:03 MST 2024

Total time taken to generate the page: 0.00595 seconds