ravsun 1 Posted May 6, 2015 Hey guys, Is there anyway to not show a action when a trigger has been activated? Here is what i have so far. { If (mis1complete) Then {player removeAction mis1}; sleep 1.0; }; mis1 = player addaction [""<t color="#FF8400"">" +"Capture AAC Airfield","ops\aac.sqf","",1,false,true,"","] mis2 = player addAction ["<t color="#FF8400"">" +"Seek and Destroy Large OA", "ops\helo.sqf]; mis3 = player addAction ["<t color="#FF8400"">" +"Destroy Power Plant", "ops\pwr.sqf]; And i have a trigger with activation with mis1complete = true. I know there is a way to add it to the action script but i cant figure out the syntax. Thanks Rav Share this post Link to post Share on other sites
jshock 513 Posted May 6, 2015 mis1 = player addaction [""<t color=""#FF8400"">" +"Capture AAC Airfield","ops\aac.sqf","",1,false,true,"","!(triggerActivated triggerName)"]; Share this post Link to post Share on other sites
ravsun 1 Posted May 6, 2015 That does not work for me. I have a simple hint trigger named trig2. I have a trigger that activates the script. mis1 = player addaction [""<t color="#FF8400"">" +"Capture AAC Airfield","ops\aac.sqf","",1,false,true,"","!(triggerActivated trig2)]; mis2 = player addAction ["<t color="#FF8400"">" +"Seek and Destroy Large OA", "ops\helo.sqf]; mis3 = player addAction ["<t color="#FF8400"">" +"Destroy Power Plant", "ops\pwr.sqf]; I need mis1 addaction to now showup after trig2 has been activated. Thanks for the quick help. Share this post Link to post Share on other sites
jshock 513 Posted May 6, 2015 If you want it to only show after the trigger is activated take off the "!" in the condition field in my example. Share this post Link to post Share on other sites
bangabob 45 Posted May 6, 2015 You have misspelled triggeractivated in your code. mis1 = player addaction [""<t color=""#FF8400"">" +"Capture AAC Airfield","ops\aac.sqf","",1,false,true,"","triggeractivated trig2"]; Share this post Link to post Share on other sites
ravsun 1 Posted May 6, 2015 (edited) I need the condition to Only show Action when "trig2" has NOT been activated. ---------- Post added at 00:00 ---------- Previous post was at 23:57 ---------- BangaBod your scripts are awesome! BTW Nevermind I see the mistake and now its working. Thanks guys! Edited May 6, 2015 by ravsun Share this post Link to post Share on other sites