Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Can Customs Loop?
Can Customs Loop? [message #333672] Fri, 06 June 2008 12:12 Go to previous message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma:
General (4 Stars)
well im try to explain this best i can
basically im trying to make customs loop
i have this
on object with the script JFW_Death_Send_Custom
and sends the message to a daves arrow which has 6 of the same script attached to that dave arrow and the 6 scripts are JFW_Custom_Play_Cinematic and plays a file i choose that drops nod troops and now heres where it gets kinda confusing in the .txt file where it crates the nod troops i put
-401 Attach_Script, 5, "JFW_Death_Send_Custom", "100167,150,150"
so which means when i kill the bots that drop from the troops sends a message to a custom when they die which of course sent to a daves arrow with this script attached to it JFW_Custom_Multiple_Send_Custom
the paras are as defind in the readme:
{code]
JFW_Custom_Multiple_Send_Custom (when this recieves a particular custom a certain number of times it sends a custom)
RecieveMessage (message to recieve)
RecieveCount (how many times to recieve, when it has recieved it exactly this many times, it sends the other custom)
SendMessage (message to send)
SendParam (parameter to send)
SendID (ID of object to send it to)
[/code]

so the cinmatic files drops 20 nod troops so when one dies sends the custom to that dave arrow with that script that WAITS for 20 messages to be send to it (1 per nod troop that dies)
and when it hits 20 sends another custom to a another daves arrow that plays the 6 cinematic files again
(so every time the troopers die they send more)
iv tested that script and it works BUT heres my problem it only works once im 100% everything is set up right but the scripts dont let them be used more then once it should make a loop (bot dies sends a message dave arrow waits for 20 of those messages then when hits 20 sends a custom to a dave arrow that plays the 6 cinematic files again and attached to each of the bots in those cinematic files has the death send custom script so i thought it would keep sending it over and over none stop but i guess it dont loop only reads once)

what can i do about this?
here some ss to show what i mean
see what im typing in public chat and pics showing you...i would have fraps but fraps wont work on my vista ffs....

http://i72.photobucket.com/albums/i172/Tanner2007/Ren/ScreenShot97.png
http://i72.photobucket.com/albums/i172/Tanner2007/Ren/ScreenShot98.png
http://i72.photobucket.com/albums/i172/Tanner2007/Ren/ScreenShot99.png
by this one i mean i kill off all there bots and im saying there kill a few more and cinmattic file should play sending more the way they came the first time
http://i72.photobucket.com/albums/i172/Tanner2007/Ren/ScreenShot100.png
http://i72.photobucket.com/albums/i172/Tanner2007/Ren/ScreenShot101.png
http://i72.photobucket.com/albums/i172/Tanner2007/Ren/ScreenShot102.png
http://i72.photobucket.com/albums/i172/Tanner2007/Ren/ScreenShot103.png
http://i72.photobucket.com/albums/i172/Tanner2007/Ren/ScreenShot104.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: Making\texturing a chinook for renegade
Next Topic: were can i find scripts.sln so i can edit scripts.dll
Goto Forum:
  


Current Time: Mon Oct 28 08:38:29 MST 2024

Total time taken to generate the page: 0.01077 seconds