_Hekler_ 0 Posted August 2, 2002 This is probably easy but her goes. I want a group to move to their next waypoint when I give them a radio command and then when I give the command I little radio chat to come up. thnx. Share this post Link to post Share on other sites
edc 0 Posted August 2, 2002 I don't know about the second part but to get a group to move to the next waypoint you could put wp1==1 in the Condition field of the waypoint before the one you want them to go to. Then make a trigger and set the activation to be Radio Alpha and put wp1=1 in the On Activation field. Also I think you can put what you want it to show up as in the Command Menu in the name field. Then in the mission press 0-0-1 to tell them to go to the next waypoint. Share this post Link to post Share on other sites
GAMEER_77 0 Posted August 2, 2002 that wouldnt work my man: wp1 not w1==1 in the condition field! (i think so anyway?) 8) PEACE Share this post Link to post Share on other sites
Eraser-pt 0 Posted August 2, 2002 Well to do that is very simple... 1ÅŸ Make a trigger triggered radio alpha and on the activation field put wp=1 2ÅŸ make a waypoint to the guy you want move in the condition field put wp==1 3ÅŸ if you want them to chat you have to make a script called "radio.sqs" for example and write the follow commands " Eraser sidechat "this is alpha one to erased, we kicked ass" ~4 erased sidechat "this is erased copy that over" Exit " the ~4 is how mutch time the script waits until it moves to the next command in this case is 4 seconds and the end you put exit to exit the script When the script is done go back to the trigger triggered radio alpha and add this [] exec "radio.sqs", so the activation field will be: wp=1; [] exec "radio.sqs" when the trigger is activated by the radio command it will give the order to the unit follow the waypoint and chat at the same time! Share this post Link to post Share on other sites
_Hekler_ 0 Posted August 3, 2002 ok. Thats all good but how do I got about making this script Do I do it in the OFP editor or what? Share this post Link to post Share on other sites
Eraser-pt 0 Posted August 3, 2002 LOL heckler well to make the script you have to open the Notepad write the commands: Eraser sidechat "this is alpha one to erased, we kicked ass" ~4 erased sidechat "this is erased copy that over" Exit and save the file with the name "radio.sqs" (Note: the extension of the file must be .sqs) when the trigger goes ON it will execute the radio with the command [] exec "radio.sqs" Share this post Link to post Share on other sites
Eraser-pt 0 Posted August 3, 2002 One more thing when your script is ready you have to put in the same folder of your mission that are you making. Example: C:\Program Files\Codemasters\OperationFlashpoint\Users\Eraser\missions\TUTORIALlol.Eden Otherwise the trigger will never find the script it will only search in the same folder of your mission. Share this post Link to post Share on other sites
_Hekler_ 0 Posted August 4, 2002 Thanx. I though you had to make it in Note pad but I wanted to double check. Share this post Link to post Share on other sites
_Hekler_ 0 Posted August 4, 2002 It says Script radio2.sqs not found. (I did name that script file radio2.sqs) And yes I did save it to the maps folder. Share this post Link to post Share on other sites
_Hekler_ 0 Posted August 5, 2002 Can't get it to work. and it is annoying me to hell. Can someone make me some kind of a template for the script. I would be extremely greatful. Thanx. Share this post Link to post Share on other sites
GAMEER_77 0 Posted August 6, 2002 When your saving the script, make sure you save it as "all files" instead of .txt 8) PEACE Share this post Link to post Share on other sites
_Hekler_ 0 Posted August 7, 2002 Ahh yes I see. Thanx Share this post Link to post Share on other sites
zahony 0 Posted August 7, 2002 hi, i know this is an older topic but i have aditional question... i did as writen above (a little different; without the waypoint but only with a radio) but i get a error message all the time. "error unknown operator". What am i doing wrong??? i think it is simple but... thx anyway. Share this post Link to post Share on other sites
bn880 5 Posted August 7, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (zahony @ Aug. 07 2002,09:12)</td></tr><tr><td id="QUOTE">hi, i know this is an older topic but i have aditional question... i did as writen above (a little different; without the waypoint but only with a radio) but i get a error message all the time. "error unknown operator". What am i doing wrong??? i think it is simple but... thx anyway. <span id='postcolor'> You will have to cut and paste the line that reports an error atthe least. Show us what you did. Share this post Link to post Share on other sites
zahony 0 Posted August 7, 2002 ok, thx for your help! this is what i did: 1. player name "Alfa" 2. soldier base name "base" 3. i made a trigger for "radio Alfa"; this trigger is used when the first objective is met. So Base gives you your next objective. (something like this) 3a. in this trigger's "on act.-field" i wrote , as it says above, "[] exec "radio,sqs" (i think the problem is with the "[]"..?) 4. my sqs-file is like the example above; " Alfa sidechat "Base - Here Team Alfa - Petrovice is cleared - over" ~15 Base sidechat "Team Alfa - Here Base - Good job Team Alfa - over" Exit " the error message is: '"|#|': Error Invalid number in expression i hope you understand this as i wrote it... thx again. Share this post Link to post Share on other sites