july865 Posted July 22, 2012 Posted July 22, 2012 i am trying to activate, deactivate, enemy a/c by using "add radio item". 2 questions with the flag that i set in the trigger list, how do i get the a/c to activate, de-activate by radio list? i have tried the past suggestions, but it seems this was re-worked in 1.2.0. is this trigger still only available to the host? (without using slmod) Asus x99, i7 5930k, 32g mem, MSI 1070GTX, 970 Samsung M.2, LG 35in Ultra-Wide, TrackIR 4 Thrustmaster Warthog HOTAS [sIGPIC][/sIGPIC]
Grimes Posted July 22, 2012 Posted July 22, 2012 Yes its only available to the host. Whenever a user selects the an option, it turns the specified flag value to "on." The trigger logic for what you are trying to accomplish is something like this> Once>Time More than 1 second> Add Radio Item ("Activate Group 1", Flag 10") Once> Flag 10 is true > Activate Group 1 && Add Radio Item ("Deactivate Group 1", Flag 11) && Radio Item remove ("Activate Group 1") Once> Flag 11 is true > Deactivate Group 1 The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
july865 Posted July 22, 2012 Author Posted July 22, 2012 (edited) thanks grimes. can i also get them to re-activate by doing this in reverse? also looking forward to your great missions that you create. haven't seen one from you in a while. Edited July 22, 2012 by july865 Asus x99, i7 5930k, 32g mem, MSI 1070GTX, 970 Samsung M.2, LG 35in Ultra-Wide, TrackIR 4 Thrustmaster Warthog HOTAS [sIGPIC][/sIGPIC]
Grimes Posted July 22, 2012 Posted July 22, 2012 Unfortunately you can't re-activate units in the sim. The best you can do is have several un-activated "copies" of the units and iterate the groups 1 at a time. I suppose it depends on the situation, if its ground units you can order them "AI OFF/ON". If its friendly aircraft assisting players you can order them to an orbit waypoint. Yeah, hopefully I finish one of my mission projects soon. I keep coming up with ideas that are slightly beyond the mission editors capabilities. :D The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Recommended Posts