EVENT_UNIT_ISSUED_TARGET_ORDER

comment

An order for a unit, with a widget (unit, destructable etc.) as the target.

Examples:

  • Move to teleport through a waygate aka "move", 851986 or "smart", 851971
  • Attack aka "attack", 851983
  • Patrol when clicked on another unit aka "patrol", 851990
bug

These events leak 1 internal object every time this event is dispatched (on a per order basis, i.e. when there are both generic and specific unit events registered, will only leak 1).

patch

1.00

Source
common.j (raise an issue to discuss on Github or submit a PR)
Source code
    constant unitevent EVENT_UNIT_ISSUED_TARGET_ORDER                   = ConvertUnitEvent(77)