modding:function:shporder
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
modding:function:shporder [2014/12/27 04:40] – external edit 127.0.0.1 | modding:function:shporder [2017/06/24 02:32] – 0xabcdef | ||
---|---|---|---|
Line 13: | Line 13: | ||
^ Description | Gives the ship the order. | | ^ Description | Gives the ship the order. | | ||
- | === Variations | + | * **shpOrder** |
+ | * **ship** | ||
+ | * **order** | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * Integer: Duration in seconds; infinite by default. | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * [Integer]: Duration in seconds; infinite by default | ||
+ | * **" | ||
+ | * [Integer]: Duration in seconds; infinite by default | ||
+ | * **" | ||
+ | * SpaceObject (does not need to be a stargate): **target** | ||
+ | * **" | ||
+ | * **" | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * [Integer]: **distance** in light-seconds at which to orbit the target. | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * [Integer]: **angle** or **formation** | ||
+ | * [Integer]: **distance** | ||
+ | * **" | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * **" | ||
+ | * **" | ||
+ | * **" | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * **" | ||
+ | * Integer: **duration** in seconds | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * **" | ||
+ | * **" | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * Integer: Angle in degrees | ||
+ | * Integer: Distance in light-seconds | ||
+ | * **" | ||
+ | * ?: **navID** | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * Integer: **distance** | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * Integer: **distance** from the target in light-seconds, | ||
+ | * Integer: **duration** in seconds until the wait ends; infinite by default. | ||
+ | * **" | ||
+ | * Integer: **duration** in seconds until the wait ends; infinite by default. | ||
+ | * **" | ||
+ | * SpaceObject (must be a station): **target** | ||
+ | * Integer: **duration** in seconds that the ship will spend bombarding | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * Integer: **distance** in light-seconds | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * Integer: **distance** in light-seconds | ||
+ | * Integer: **duration** in seconds | ||
+ | * **" | ||
+ | * Integer: **angle** in degrees | ||
+ | * Integer: **distance** in light-seconds | ||
+ | * **" | ||
+ | * Distance: **angle** (absolute) in degrees | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * Integer: **duration** in seconnds | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * [?]: **unknown** | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * String: **event** to fire | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * Integer: **duration** | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * String: **message** | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * Integer: **distance** in light-seconds | ||
+ | * [Integer]: **time** in seconds; infinite by default. | ||
+ | * **" | ||
+ | * SpaceObject: | ||
+ | * Integer: **duration** in seconds | ||
+ | * **" | ||
+ | * Position: **destination** | ||
+ | * **" | ||
+ | * Integer: **duration** in seconds | ||
+ | === Example | ||
- | * (shpOrder source ' | + | <code lisp> |
- | | + | (shpOrder |
- | | + | (random |
- | * (shpOrder source ' | + | ' |
- | * (shpOrder source ' | + | (random |
- | * (shpOrder source | + | ) |
- | | + | </ |
- | * (shpOrder source ' | + | |
- | * (shpOrder source ' | + | |
- | * (shpOrder source 'goto target) | + | |
- | * (shpOrder source ' | + | |
- | * (shpOrder source 'aim target) | + | |
- | * (shpOrder source 'guard target) | + | |
- | * (shpOrder wingman ' | + | |
- | * (shpOrder source ' | + | |
- | * (shpOrder source ' | + | |
- | * (shpOrder source ' | + | |
- | * (shpOrder source ' | + | |
- | * (shpOrder source ' | + | |
- | + | ||
- | === Example === | + | |
- | <code lisp> | + | 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.txt · Last modified: 2017/06/25 05:06 by 0xabcdef