Bahger Posted April 18, 2013 Posted April 18, 2013 I have three groups of 10 red tanks. Blue forces engaging each group are triggered to advance when each group is "alive less than 21%", i.e. when there are only two tanks left. I'm wondering if I can randomize this condition in the trigger setup, so that the trigger will fire randomly as long as the unit it applies to is "alive less than" between 50% and 20% (i.e. between 5 and 2 tanks still alive.) Can this be done?
Grimes Posted April 18, 2013 Posted April 18, 2013 Once>Time Less than 2>Set Flag 1 Random Value from 2 and 5 Once>Flag 1 Equals 2 AND Group Alive less than 21%>Do Action Once>Flag 1 Equals 3 AND Group Alive less than 31%>Do Action Once>Flag 1 Equals 4 AND Group Alive less than 41%>Do Action Once>Flag 1 Equals 5 AND Group Alive less than 51%>Do Action Simple as that. 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