CrazyJohny Posted December 30, 2015 Posted December 30, 2015 :helpsmilie: needed with ME can someone familiar with triger and flag logic help me to setup capturable zones? Like if none in zone, then there will be white smoke, if blue in zone, blue smoke, if red in zone red smoke, if again none in zone then white smoke. thanks a lot Mi8 pilot of [VODKA] squadron
Steggles Posted December 31, 2015 Posted December 31, 2015 (edited) I havn't tested this, but the logic should be right. Check Kobuleti airport, trigger zone, and triggers in the attached mission. Smoke markers last for 5 minutes, so I've got it checking every 300 seconds so they don't overlap, and there will always be smoke to mark the zone. EDIT: Logic behind flag numbers (that I use) - first digit is capture zone number, second digit is for zone condition. 0 = no one in it, 1 = red in zone, 2 = blue in zone, 3 = red and blue in zone. So flag 10 is capture zone 1 with no one in it, and flag 12 is capture zone 1 with blue in it. Hope you know what I mean and can make sense of what I'm saying. Mission was made in stable release of 1.5 Edit2: Fixed the logic. Its correct now, I forgot to switch the flags off for when a new one was set. Tested and it works.Kobuleit-CaptureZone.miz Edited December 31, 2015 by Steggles -16AGR- 16th Air Guards Regiment is always looking for pilots - http://www.16agr.com EWRS - Early Warning Radar Script Specs: Gigabyte Sniper Z5-S Intel i5-4670k 3.4GHz OC'd 3.9GHz w/ Thermaltake 120mm Water 3.0 Pro Liquid CPU Cooler 16GB RAM Gigabyte GTX 1080 TM Hotas Warthog: SN: 06976 Saitek Pro Flight Combat Rudder Pedals TrackIR5 with TrackClipPro & Oculus Rift 2x 28" 4k UHD Monitors (3840x2160 each) + 1280x1024
Midnight Posted December 31, 2015 Posted December 31, 2015 Thanks Steggles, would be great to have this scripted. It would make things much easier.
CrazyJohny Posted December 31, 2015 Author Posted December 31, 2015 I havn't tested this, but the logic should be right. Check Kobuleti airport, trigger zone, and triggers in the attached mission. Smoke markers last for 5 minutes, so I've got it checking every 300 seconds so they don't overlap, and there will always be smoke to mark the zone. EDIT: Logic behind flag numbers (that I use) - first digit is capture zone number, second digit is for zone condition. 0 = no one in it, 1 = red in zone, 2 = blue in zone, 3 = red and blue in zone. So flag 10 is capture zone 1 with no one in it, and flag 12 is capture zone 1 with blue in it. Hope you know what I mean and can make sense of what I'm saying. Mission was made in stable release of 1.5 Edit2: Fixed the logic. Its correct now, I forgot to switch the flags off for when a new one was set. Tested and it works. Thanks a lot, works like a charm :) It is shame that it is not possible to remove smoke earlier :( Mi8 pilot of [VODKA] squadron
Recommended Posts