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 next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
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
Re: Can Customs Loop? [message #333766 is a reply to message #333672] Sat, 07 June 2008 02:17 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
lol to much?
Re: Can Customs Loop? [message #333805 is a reply to message #333672] Sat, 07 June 2008 08:05 Go to previous messageGo to next message
Genesis2001
Messages: 1397
Registered: August 2006
Karma: 0
General (1 Star)
Answer: Yes, customs can loop.

JFW_Custom_Send_Custom


Just re-send the custom event back to the object. Wink

~Zack
Re: Can Customs Loop? [message #333826 is a reply to message #333805] Sat, 07 June 2008 09:43 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
Zack wrote on Sat, 07 June 2008 08:05

Answer: Yes, customs can loop.

Just re-send the custom event back to the object.

JFW_Custom_Send_Custom




Just re-send the custom event back to the object. Wink

~Zack[/quote]
so when the bots die send custom to a dave arrow with JFW_Custom_Send_Custom
and from there sends a custom to a dave arrow with the script JFW_Custom_Multiple_Send_Custom hooked on that wats for the amount of messages i type then send to a third dave arrow with the cinematic files in it?

or do you mean something else?

[Updated on: Sat, 07 June 2008 09:43]

Report message to a moderator

Re: Can Customs Loop? [message #333838 is a reply to message #333672] Sat, 07 June 2008 10:48 Go to previous messageGo to next message
Spyder
Messages: 1070
Registered: March 2006
Karma: 0
General (1 Star)
I'm gonna give you the greatest tip ever!!!

JUST TRY IT BEFORE ASKING QUESTIONS!!!
Re: Can Customs Loop? [message #333918 is a reply to message #333838] Sat, 07 June 2008 18:06 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
TCUSniper wrote on Sat, 07 June 2008 10:48

I'm gonna give you the greatest tip ever!!!

JUST TRY IT BEFORE ASKING QUESTIONS!!!

just making sure i got right info before trying something the wrong way for 3 hours Wink ok im try it
Re: Can Customs Loop? [message #333926 is a reply to message #333672] Sat, 07 June 2008 19:58 Go to previous messageGo to next message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma: 0
General (1 Star)
JFW_Custom_Multiple_Send_Custom doesn't reset itself after sending the custom. I'm not sure if this is a bug though.
Re: Can Customs Loop? [message #333958 is a reply to message #333926] Sun, 08 June 2008 00:00 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
Saberhawk wrote on Sat, 07 June 2008 19:58

JFW_Custom_Multiple_Send_Custom doesn't reset itself after sending the custom. I'm not sure if this is a bug though.

can you find out? or tell me how i can find out? im pretty sure thats the problem....no wait...100% sure i need to find a way to fix this =/

[Updated on: Sun, 08 June 2008 00:04]

Report message to a moderator

Re: Can Customs Loop? [message #333984 is a reply to message #333838] Sun, 08 June 2008 03:19 Go to previous messageGo to next message
Slave is currently offline  Slave
Messages: 607
Registered: December 2006
Karma: 0
Colonel
TCUSniper wrote on Sat, 07 June 2008 12:48

I'm gonna give you the greatest tip ever!!!

JUST TRY IT BEFORE ASKING QUESTIONS!!!


Idiot.

There's a difference between laziness and the need for advice.
Re: Can Customs Loop? [message #334081 is a reply to message #333672] Sun, 08 June 2008 12:59 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
so saberhawk how do i make it reset itsself?
Re: Can Customs Loop? [message #334111 is a reply to message #334081] Sun, 08 June 2008 16:13 Go to previous messageGo to next message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma: 0
General (1 Star)
In LE, no idea. As for me not sure if it's a bug, I meant if the not resetting was intentional or not.
Re: Can Customs Loop? [message #334114 is a reply to message #334111] Sun, 08 June 2008 16:20 Go to previous message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
Saberhawk wrote on Sun, 08 June 2008 16:13

In LE, no idea. As for me not sure if it's a bug, I meant if the not resetting was intentional or not.

well how do i do it?
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 10:19:02 MST 2024

Total time taken to generate the page: 0.01147 seconds