Functions Documentation |
|
Name |
shpOrder |
Syntax |
(shpOrder ship order [target] [count]) -> True/Nil |
Argument List |
ship: The ship that you want to order.
order: A string representing the order.
[target]: optional target. Only used by some order types.
[count]: Optional count. Only used by some order types. Depending on the order it can represent a timeframe or a distance. |
Returns |
True/Nil depending on success. |
Category |
orders, ship
|
Description |
Gives the ship the order. Multiple orders can be queued and they will be completed in sequence. |
Example |
(shpOrder gPlayerShip 'wait)
Returns True, although ordering the player to wait doesn't do much. |
Comment |
See here for a list of orders: http://wiki.neurohack.com/transcendence/wiki/modding/function/legend#ship_orders |