Byte
|
fromPlayer. The index of
the player who is giving this order.
|
Byte
|
toPlayer. The index of the
player who is recieving this order.
|
Byte
|
orderType. This is one of
the following constants from the NS SDK:
- ORDERTYPEL_DEFAULT = 1. Presumably the default order,
but I've never seen it issued.
- ORDERTYPEL_MOVE = 2. The "Move to waypoint" order.
- ORDERTYPET_ATTACK = 3. The "Enemies nearby" waypoint
issued when the commander clicks on an alien.
- ORDERTYPET_BUILD = 4. The "Build target at waypoint"
order issued when a building is placed.
- ORDERTYPET_GUARD = 5. The "Defend target" order
issued when the commander clicks on buildings or players.
- ORDERTYPET_WELD = 6. The "Weld target at waypoint"
order.
- ORDERTYPET_GET = 7. The "Pick up equipment at
waypoint" order.
- ORDERTYPEG_HOLD_POSITION = 8.
- ORDERTYPEG_CODE_DEPLOY_MINES = 9.
- ORDERTYPEG_CODE_GREEN = 10.
- ORDERTYPEG_CODE_YELLOW = 11.
- ORDERTYPEG_CODE_RED = 12.
None of the ORDERTYPE_G_ waypoints work in the current version of NS
(2.01).
|
Byte
|
orderType. The type of the
order. Currently, only location orders are implemented.
- ORDERTARGETTYPE_GLOBAL = 1.
- ORDERTARGETTYPE_LOCATION = 2.
- ORDERTARGETTYPE_TARGET = 3.
|
Coord
|
The x-coordinates of the
waypoint.
|
Coord
|
The y-coordinates of the
waypoint.
|
Coord
|
The z-coordinates of the
waypoint.
|
Byte
|
entityReference. If the
order type is ORDERTYPET_BUILD or ORDERTYPET_GUARD, this value
determines the text that appears under the waypoint. It should be
one of the AVH_USER3_ constants defined in the NS SDK. For
example, if this was a build order and this value was set to
AVH_USER3_FUNC_RESOURCE, the text would read "Build resource tower".
|
Byte
|
unknown. It seems to be
either zero or one, but I can't tell what difference it makes.
|