Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Script Question
Script Question [message #166934] Fri, 19 August 2005 20:41 Go to next message
Obelisk
Messages: 99
Registered: July 2004
Karma: 0
Recruit
I am trying to use JFW_Console_Message_On_Custom im not intirely sure on how the costums work. If i put for that script in message the number five and another script that sends a custom and i put the send message at 5 will that trigger it?

and for JFW_Console_Message_On_Custom what do i attach this to?

thanks for any help :}

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: 0
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
Previous Topic: Removing Timed C4 with scripts
Next Topic: .w3d
Goto Forum:
  


Current Time: Fri Nov 15 16:27:48 MST 2024

Total time taken to generate the page: 0.00557 seconds