# eGameObjectOrder
# Description
A collection of game object command enumerations used to send behavior commands to game objects, value type is number
# How to use
// Send move command
object->IssueOrder(eGameObjectOrder::MoveTo, position);
// Send attack command
object->IssueOrder(eGameObjectOrder::AttackUnit, target);
# Properties
key | value | remarks |
---|---|---|
HoldPosition | 1 | Hold position |
MoveTo | 2 | Move to specified position |
AttackUnit | 3 | Attack specified unit |
AutoAttackPet | 4 | Auto attack pet |
AutoAttack | 5 | Auto attack |
MovePet | 6 | Move pet |
AttackTo | 7 | Attack to specified position |
Stop | 10 | Stop current behavior |