Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Help with creating scripts
Re: Help with creating scripts [message #233781 is a reply to message #231746] Mon, 11 December 2006 12:14 Go to previous message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma:
General (5 Stars)
I have no idea what your background is in modding scripts.dll, so excuse me for not being psychic Sarcasm

Sending a custom only once is fairly easy, just add a bool to your scripts class, and set it to true once the custom has been sent. Then when checking if you should send the custom, check to see if the bool is true or not.

Use a timer to set the boolean back to it's off state, so the health can be sent again.


http://steamsignature.com/card/1/76561197975867233.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Funny Water
Next Topic: Lookin' for a 3D Nod logo.
Goto Forum:
  


Current Time: Sat Jul 20 03:03:44 MST 2024

Total time taken to generate the page: 0.00753 seconds