sunski34 Posted May 28, 2017 Posted May 28, 2017 Hi, AI helicopter's group defined with DCS Mission Editor starts from an airbase and land finally (last WP) on an airbase (same or not). when setting a task "Landing" on a WP of that group still with DCS Mission Editor, S_EVENT_LAND is never fired (single or Multi player mode). S_EVENT_TAKEOFF is fired once for the first concerned WP (if several WP of the route have that Landing task set) but no event fired for the other landing task of the route. Of course, first takeoff from airbase and last Landing on airbase are ok : events are fired. Sunski
sunski34 Posted May 28, 2017 Author Posted May 28, 2017 (edited) So the only workaround is to test if units of the group are in air or not. I will do more tests ASAP. Seems to be ok for player's helicopters Edited May 28, 2017 by sunski34
Grimes Posted May 29, 2017 Posted May 29, 2017 Replicated it on tester build and reported. 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
ESAc_matador Posted May 29, 2017 Posted May 29, 2017 Hi, AI helicopter's group defined with DCS Mission Editor starts from an airbase and land finally (last WP) on an airbase (same or not). when setting a task "Landing" on a WP of that group still with DCS Mission Editor, S_EVENT_LAND is never fired (single or Multi player mode). S_EVENT_TAKEOFF is fired once for the first concerned WP (if several WP of the route have that Landing task set) but no event fired for the other landing task of the route. Of course, first takeoff from airbase and last Landing on airbase are ok : events are fired. Sunski i use this if helicopter:inAir() == false then whatever action end
sunski34 Posted May 30, 2017 Author Posted May 30, 2017 I do the same but thoses events have to work like for players when landing. It's a bug I think
Recommended Posts