modding:function:shporder
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| modding:function:shporder [2017/03/09 01:49] – Completed Orders List 0xabcdef | modding:function:shporder [2017/06/25 05:06] (current) – 0xabcdef | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| * **ship** | * **ship** | ||
| * **order** | * **order** | ||
| - | * " | + | |
| - | * Target | + | * SpaceObject: |
| - | * " | + | |
| - | * Target | + | * SpaceObject: |
| - | * " | + | * Integer: Duration in seconds; indefinite by default. |
| - | * Target | + | * **" |
| - | * [Duration in seconds] | + | * SpaceObject: |
| - | * " | + | |
| - | * [Duration in seconds] | + | * SpaceObject: |
| - | * " | + | * [Integer]: |
| - | * [Gate] | + | |
| - | * " | + | * [Integer]: |
| - | * " | + | |
| - | * " | + | * SpaceObject (does not need to be a stargate): **target** |
| - | * Target | + | |
| - | * Distance | + | |
| - | * " | + | |
| - | * Target | + | * SpaceObject: |
| - | * [Angle]|[Formation] | + | * [Integer]: **distance** in light-seconds at which to orbit the target. |
| - | * [Distance] | + | |
| - | * " | + | * SpaceObject: |
| - | * " | + | * [Integer]: **angle** or **formation** |
| - | * Target | + | * [Integer]: **distance** |
| - | * " | + | |
| - | * " | + | |
| - | * " | + | * SpaceObject: |
| - | * " | + | |
| - | * Target | + | |
| - | * " | + | |
| - | * Duration | + | |
| - | * " | + | * SpaceObject: |
| - | * Target | + | |
| - | * " | + | * Integer: **duration** in seconds |
| - | * " | + | |
| - | * " | + | * SpaceObject: |
| - | * Target | + | |
| - | * " | + | |
| - | * Integer ((Unknown)) | + | |
| - | * " | + | * SpaceObject: |
| - | * Object | + | * Integer: Angle in degrees |
| - | * " | + | * Integer: Distance in light-seconds |
| - | * Target | + | |
| - | * Integer | + | * ?: **navID** |
| - | * Integer | + | |
| - | * " | + | * SpaceObject: |
| - | * Duration | + | * Integer: **distance** |
| - | * " | + | |
| - | * Target | + | * SpaceObject: |
| - | * Integer | + | * Integer: **distance** from the target in light-seconds, |
| - | * " | + | * Integer: **duration** in seconds until the wait ends; indefinite by default. |
| - | * Target | + | |
| - | * Distance | + | * Integer: **duration** in seconds until the wait ends; indefinite by default. |
| - | * " | + | |
| - | * Target | + | * SpaceObject (must be a station): **target** |
| - | * " | + | * Integer: **duration** in seconds that the ship will spend bombarding |
| - | * Target | + | |
| - | * Distance | + | * SpaceObject: |
| - | * Integer | + | * Integer: **distance** in light-seconds |
| - | * " | + | |
| - | * Angle | + | * SpaceObject: |
| - | * Distance | + | |
| - | * " | + | * SpaceObject: |
| - | * Angle (absolute) | + | * Integer: **distance** in light-seconds |
| - | * " | + | * Integer: **duration** in seconds |
| - | * Target | + | |
| - | * Duration | + | * Integer: **angle** (absolute) in degrees |
| - | * " | + | * Integer: **distance** in light-seconds |
| - | * Target | + | |
| - | * Integer ((Unknown)) | + | * Distance: **angle** |
| - | * " | + | |
| - | * Target | + | * SpaceObject: |
| - | * String | + | * Integer: **duration** in seconds; indefinite by default. |
| - | * " | + | |
| - | * Target | + | * SpaceObject: |
| - | * Duration | + | * [?]: **unknown** |
| - | * " | + | |
| - | * Target | + | * SpaceObject: |
| - | * Message | + | * String: **event** to fire |
| - | * " | + | |
| - | * Target ((Unknown)) | + | * SpaceObject: |
| - | * Integer | + | * Integer: **duration** in seconds |
| - | * Integer | + | |
| - | * " | + | * SpaceObject: |
| - | * Target | + | * String: **message** |
| - | * Integer | + | |
| - | * " | + | * SpaceObject: |
| - | * Position | + | * Integer: **distance** in light-seconds |
| - | * " | + | * [Integer]: **time** in seconds; indefinite by default. |
| - | | + | |
| - | | + | * SpaceObject: |
| - | | + | * Integer: **duration** in seconds |
| - | * Integer | + | |
| + | * Position: **destination** | ||
| + | | ||
| + | * Integer: **duration** in seconds | ||
| === Example === | === Example === | ||
| - | <code lisp> | + | <code lisp> |
| + | (shpOrder | ||
| + | (random (sysFindObject Nil "s A")) | ||
| + | 'gate | ||
| + | (random (sysFindObject Nil "G A")) | ||
| + | ) | ||
| + | </ | ||
| + | |||
| + | Orders a random ship in the system to exit through a random gate as soon as all its orders are done. | ||
| - | Returns True, ordering the player to wait doesn' | ||
| Return to [[: | Return to [[: | ||
modding/function/shporder.1489024141.txt.gz · Last modified: by 0xabcdef
