Damage Posted July 18, 2011 Posted July 18, 2011 Hi, I have a multi-player mission with six A-10's searching for 10 enemy groups that are moving on a 33000 radius zone at night. Consequently it takes a significant amount of searching to find them all. Because the mission will take about 2 - 3 hours to complete I want to keep all players motivated by letting them know when the blue coalition is making progress or getting close to completing the mission objective of destroying all red forces in the battlefield zone. How can I create a trigger to send a message to all (30% complete) when "any" 3 out of the 10 enemy groups are dead? I was wondering if there is a way to assign a point value to each group (10 points) and then create a trigger to send a message to all when 30 points have been achieve by the blue coalition. The problem is I have not been able to successfully apply this. Maybe there is another method that I should be trying? If there is a way to do this then I would assume that I can apply the same trigger logic to let everyone know when 50%, 80% or 90% are dead. Any help would be greatly appreciated. Thanks, -Damage [sIGPIC][/sIGPIC] Flight Box: ASUS P8P67 DELUXE, i7-2700K @ 4.5GHz, 8GB DDR3, Kingston 96GB SSD, EVGA GTX-570 HD 2560MB, Sony KDL-32BX420 32", 2 x Lilliput UM-70, Win7 Pro 64, CH Fighterstick, Pro Throttle, Pro Pedals
Grimes Posted July 18, 2011 Posted July 18, 2011 (edited) Its quite simple really... like always there are a few ways to go about it. One way is to create a trigger that says "Once>GroupA is Dead> Flag X increase 1 for each group. Then have another set of triggers that display the message at a given time. Switched Condition>Flag X is less than 1> Message: Mission is 0% complete Switched Condition>Flag X is greater than 0 AND less than 2> Mission is 10% Complete Alternatively, you can use mission goals to figure out how many groups are remaining. The process is pretty much identical, however you must make each group a mission goal, and assign appropriate point values to destroying them. Personally I think the trigger method above would work better for what you are trying to accomplish. And so on. You can add in a flag timer to make the message appear every so many seconds. In which case you'd add a "Flag Z is True" to each message trigger. And an additional trigger that resets the timer. Switched Condition>Time since flag Y is 600 seconds (10 minutes) > Flag Y Off, Flag Y On, Flag Z On Switched Condition>Time Since Flag Z is 5 seconds> Flag Z Off Edited July 18, 2011 by Grimes 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
Damage Posted July 19, 2011 Author Posted July 19, 2011 I used your first suggestion and got it working. Thanks a bunch! rep inbound [sIGPIC][/sIGPIC] Flight Box: ASUS P8P67 DELUXE, i7-2700K @ 4.5GHz, 8GB DDR3, Kingston 96GB SSD, EVGA GTX-570 HD 2560MB, Sony KDL-32BX420 32", 2 x Lilliput UM-70, Win7 Pro 64, CH Fighterstick, Pro Throttle, Pro Pedals
Recommended Posts