Hellfire168 0 Posted January 2, 2008 help me i want call a script in a missions and set a radio option with trigger: "radio juliet condtion this on act [] exec "launch.sqs" " its launched when i perview that mission, but i want it launch after i call it . i dont know why~ ps: how to add a option in game right-bottom options box? and how to use the option to launch a script? Share this post Link to post Share on other sites
loyalguard 15 Posted January 2, 2008 So if I understand correctly, your script runs as soon as you preview the mission in the editor? I'm not sure why that would happen unless you have not correctly set up the trigger. I just tested a radio juliet trigger successfully in the editor that launches the script when you use radio 0-0-0. For launch.sqs, I just used a 1-line script that showed a hint. Here is what the trigger looks like: Try this setup in your mission to see if you can get it to launch your own launch.sqs. Good luck! Share this post Link to post Share on other sites
Hellfire168 0 Posted January 2, 2008 thx for reply i think its my script's problem.i will fix it my question is how to add a option in game right-bottom options box? and how to use the option to launch a script? Share this post Link to post Share on other sites
loyalguard 15 Posted January 2, 2008 You have to use the addAction command. Share this post Link to post Share on other sites