Tokata_RuNeLess
Chieftain
Suggest that I want to do such a thing:
A unit has a promotion, if it is airlifted, delete this promotion.
Events associated with it includes 'GameEvents.UnitSetXY' and 'Events.UnitMoveQueueChanged'. I do not know other events that may help.
In an airlift, unit changes its XY, but its move queue remains.
Since that 'GameEvents.UnitSetXY' is always been fired before 'Events.UnitMoveQueueChanged', what should I do to judge if the unit is airlifted?
A unit has a promotion, if it is airlifted, delete this promotion.
Events associated with it includes 'GameEvents.UnitSetXY' and 'Events.UnitMoveQueueChanged'. I do not know other events that may help.
In an airlift, unit changes its XY, but its move queue remains.
Since that 'GameEvents.UnitSetXY' is always been fired before 'Events.UnitMoveQueueChanged', what should I do to judge if the unit is airlifted?