modding:function:shporder
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
modding:function:shporder [2014/12/27 04:40] – external edit 127.0.0.1 | modding:function:shporder [2017/06/23 23:24] – More order info 0xabcdef | ||
---|---|---|---|
Line 13: | Line 13: | ||
^ Description | Gives the ship the order. | | ^ Description | Gives the ship the order. | | ||
- | === Variations === | + | * **shpOrder** |
- | + | * **ship** | |
- | * (shpOrder source ' | + | * **order** |
- | * (shpOrder source 'attack target) | + | * " |
- | * (shpOrder source 'dock target) | + | * SpaceObject: |
- | * (shpOrder source ' | + | * " |
- | * (shpOrder source 'hold Nil 5) | + | * SpaceObject: |
- | * (shpOrder source 'gate) | + | * Integer: Duration in seconds; infinite by default. |
- | * (shpOrder | + | * "dock": Ship attempts to dock with a target. If no docking ports are available, ship will move back and forth over the target until a port is available. |
- | * (shpOrder source 'hold) | + | * SpaceObject: |
- | * (shpOrder | + | * " |
- | * (shpOrder source 'goto target) | + | * SpaceObject: |
- | * (shpOrder source ' | + | * [Integer]: Duration in seconds; infinite by default |
- | * (shpOrder source 'aim target) | + | * " |
- | * (shpOrder source ' | + | * [Integer]: Duration in seconds; infinite by default |
- | * (shpOrder wingman ' | + | * " |
- | * (shpOrder source ' | + | * SpaceObject |
- | * (shpOrder source ' | + | * " |
- | * (shpOrder source ' | + | * " |
- | * (shpOrder source ' | + | * " |
- | * (shpOrder source ' | + | * SpaceObject: |
+ | * [Integer]: Distance at which to orbit the target. | ||
+ | * " | ||
+ | * SpaceObject: | ||
+ | * [Integer]: Angle or Formation | ||
+ | * [Integer]: Distance | ||
+ | * " | ||
+ | * " | ||
+ | * SpaceObject: | ||
+ | * " | ||
+ | * " | ||
+ | * "wander": Ship follows a diamond-like path around the system, fighting enemies that attack it | ||
+ | * " | ||
+ | * SpaceObject: | ||
+ | * "hold": Ship brakes and attempts to stay at its current position, attacking nearby enemies | ||
+ | * Integer: Duration | ||
+ | * " | ||
+ | * SpaceObject: | ||
+ | * " | ||
+ | * " | ||
+ | * " | ||
+ | * SpaceObject: | ||
+ | * Integer: Angle in degrees | ||
+ | * Integer: Distance in light-seconds | ||
+ | * " | ||
+ | * Integer ((Unknown)) | ||
+ | * "goto" | ||
+ | * Object | ||
+ | * " | ||
+ | * SpaceObject: | ||
+ | * Integer: Maximum distance from the target in light-seconds, | ||
+ | * Integer: Maximum duration in seconds until the wait ends; infinite by default. | ||
+ | * " | ||
+ | * Duration: Maximum duration in seconds until the wait ends; infinite by default. | ||
+ | * " | ||
+ | * SpaceObject | ||
+ | * Integer: Duration in seconds that the ship will spend bombarding | ||
+ | * " | ||
+ | * SpaceObject: | ||
+ | * Distance: Distance in light-seconds | ||
+ | * "aim": Ship aims at a target | ||
+ | * SpaceObject: | ||
+ | * " | ||
+ | * SpaceObject: | ||
+ | * Integer: Distance in light-seconds | ||
+ | * Integer: Duration in seconds | ||
+ | * " | ||
+ | * Angle | ||
+ | * Distance | ||
+ | * " | ||
+ | * Angle (absolute) | ||
+ | * " | ||
+ | * Target | ||
+ | * Duration | ||
+ | * " | ||
+ | * Target | ||
+ | * Integer | ||
+ | * " | ||
+ | * Target | ||
+ | * String (event name) | ||
+ | * " | ||
+ | * Target | ||
+ | * Duration | ||
+ | * " | ||
+ | * Target | ||
+ | * Message | ||
+ | * " | ||
+ | * Target | ||
+ | * Integer | ||
+ | * Integer | ||
+ | * " | ||
+ | * Target | ||
+ | * Integer | ||
+ | * " | ||
+ | * Position vector | ||
+ | * " | ||
+ | * Duration | ||
=== Example === | === Example === | ||
modding/function/shporder.txt · Last modified: 2017/06/25 05:06 by 0xabcdef