Ionflux 0 Posted October 6, 2008 Hey guys, cant believe I am struggling with this . I basically want to make my extraction radio command hidden until I reach a trigger that will enable the user to call in for the extraction. I have searched the forum but I cant seem to find anything. Any help would be really appreciated. Thanks in advance, flux Share this post Link to post Share on other sites
Namikaze 0 Posted October 6, 2008 Could you set a requirement for the block of code that creates the trigger? That way, the radio trigger doesn't exist until the requirement is met. Say, with a waitUntil command, or something similar that would work for your particular requirements? Share this post Link to post Share on other sites
Ionflux 0 Posted October 6, 2008 Good idea thanks, will check it out Share this post Link to post Share on other sites
poweruser 10 Posted October 6, 2008 setTriggerActivation Give your 'call for extraction' trigger a name (i.e.: triggerExtraction) in the mission editor set that trigger to: Â Activation: NONE You'll make it available to the players by running this command: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">triggerExtraction setTriggerActivation ["ALPHA","PRESENT",false]; Share this post Link to post Share on other sites
Ionflux 0 Posted October 7, 2008 Thanks dengibtsschon, really appreciated!! Share this post Link to post Share on other sites
Reapy 0 Posted October 7, 2008 In the Init.sqf or .sqs: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> 1 setRadioMsg "NULL"; In the trigger: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> 1 setRadioMsg "Call for extraction" Share this post Link to post Share on other sites
Ionflux 0 Posted October 8, 2008 Hey Reaper thanks for the reply. I cant seem to get it working though  . I put it to a simple test. I created a squad and gave them 2 waypoints. The first waypoint I put hold. The second waypoint move. Then I created the trigger, I Synchronized the trigger with the hold waypoint. Then I did what you said, I put this in my Init.sqs: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> 1 setRadioMsg "NULL"; I put this in my trigger condition: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> 1 setRadioMsg "Team Alpha attack"; this To make sure the trigger is working I put this in my on Act: Quote[/b] ]Alpha SideChat "(Team Alpha) Rodger! Yes sir, moving now."; If I put the activation of the trigger on BLUFOR then they just move and I cant use the radio. If you can give me any advice on what to do I would really, really appreciate it. Thanks in advance Share this post Link to post Share on other sites
Reapy 0 Posted October 9, 2008 For hide a radio message until it's necessary to use it: Example: Create a trigger that launch the radio message: Activation: Radio Alpha Condition: this On Act: Leader YourGroup SideRadio "Radio1" Hide the command that launch the radio message, add this line in the init file: 1 setRadioMsg "NULL"; In the trigger that make appear the message when you want: Activation: "as you wish" Condition: "as you wish" On Act: 1 setRadioMsg "Call for extraction" Then in game, and when the last trigger is triggered: tape 0-1 (if i'm not wrong) The radio message will not appear until the last trigger is triggered, so on the extraction zone for the example. Share this post Link to post Share on other sites
Ionflux 0 Posted October 9, 2008 Excellent thanks mate got it working .. Share this post Link to post Share on other sites