FMAX Posted August 22, 2018 Posted August 22, 2018 Hello everything is in the title, I want to know if an Ai has landed in order to make another take off the only thing I found is to see if his speed is zero:cry:
Falcon_S Posted August 22, 2018 Posted August 22, 2018 Make small trigger zone on the runway. When AI enter in that zone (+ you can add more conditions: Altitude is: is lower than... speed is lower than...)... start new action. Quote Немој ништа силом, узми већи чекић! MSI Tomahawk MAX | Ryzen 7 3700x | 32GB DDR4 3200MHz | RX 5700 XT OC Red Dragon 8GB | VPC Throttle CM3 + VPC Constellation ALPHA on VPC WarBRD Base | HP Reverb G2 Youtube | Follow Me on TWITCH!
Zayets Posted August 22, 2018 Posted August 22, 2018 S_EVENT_LAND https://wiki.hoggitworld.com/view/DCS_singleton_world [sIGPIC]OK[/sIGPIC]
BlacleyCole Posted August 28, 2018 Posted August 28, 2018 Or speed less than BlackeyCole 20years usaf XP-11. Dcs 2.5OB Acer predator laptop/ i7 7720, 2.4ghz, 32 gb ddr4 ram, 500gb ssd,1tb hdd,nvidia 1080 8gb vram New FlightSim Blog at https://blackeysblog.wordpress.com. Go visit it and leave me feedback and or comments so I can make it better. A new post every Friday.
Zayets Posted August 28, 2018 Posted August 28, 2018 Or speed less than And altitude less than. And unit alive. [sIGPIC]OK[/sIGPIC]
CougarFFW04 Posted December 26, 2018 Posted December 26, 2018 (edited) Hi DCS scripting gurrus I am interested to know when a IA group has landed. I would like to use S_EVENT_LAND as suggested above but didn't understand how to use the world.addEventHandler function and didn't sucess yet to do anything with that :joystick: Can someone point me to an exemple ? Thanks Edit : got it with this simple exemple : I execute world.addEventHandler(LandingHandler) in the ME with the following code. Hope this might help someone sometime. LandingHandler = {} function LandingHandler:onEvent(event) if event.id == world.event.S_EVENT_LAND then trigger.action.outText("Land event occured", 10) end end Edited December 27, 2018 by CougarFFW04
Recommended Posts