modding:function:shpsetcontroller
Discuss this page on this page's Talk ;Page
shpSetController
Supported Orders
Each controller supports a different set of orders in order to provide special behaviors.
| Order / Controller | (standard) | auton | crew | ferian | fleet | fleetcommand | gaianprocessor | gladiator | zoanthrope |
|---|---|---|---|---|---|---|---|---|---|
| aim | ✓ | ||||||||
| approach | ✓ | ✓ | |||||||
| attack | ✓ | ✓ | ✓ | ✓ | |||||
| attackArea | ✓ | ||||||||
| attackHold | ✓ | ||||||||
| attackNearestEnemy | ✓ | ✓ | |||||||
| attackPlayerOnReturn | ✓ | ✓ | |||||||
| attackStation | ✓ | ||||||||
| bombard | ✓ | ||||||||
| dock | ✓ | ✓ | |||||||
| escort | ✓ | ✓ | ✓ | ✓ | |||||
| fireEvent | ✓ | ||||||||
| follow | ✓ | ||||||||
| followPlayerThroughGate | ✓ | ✓ | ✓ | ✓ | |||||
| gate | ✓ | ✓ | ✓ | ✓ | ✓ | ||||
| gateOnStationDestroyed | ✓ | ||||||||
| gateOnThreat | ✓ | ||||||||
| goto | ✓ | ||||||||
| gotoPos | ✓ | ||||||||
| guard | ✓ | ✓ | ✓ | ✓ | |||||
| hold | ✓ | ||||||||
| holdAndAttack | ✓ | ||||||||
| holdCourse | ✓ | ||||||||
| loot | ✓ | ||||||||
| mine | ✓ | ✓ | |||||||
| navPath | ✓ | ||||||||
| orbit | ✓ | ||||||||
| patrol | ✓ | ✓ | ✓ | ||||||
| scavenge | ✓ | ||||||||
| sendMessage | ✓ | ||||||||
| sentry | ✓ | ||||||||
| tradeRoute | ✓ | ||||||||
| turnTo | ✓ | ||||||||
| wait | ✓ | ✓ | |||||||
| waitForEnemy | ✓ | ||||||||
| waitForPlayer | ✓ | ✓ | ✓ | ||||||
| waitForTarget | ✓ | ||||||||
| waitForThreat | ✓ | ||||||||
| waitForUndock | ✓ | ||||||||
| wander | ✓ |
Example
(shpSetController gSource "auton")
Makes the calling ship act like an auton.
Return to Functions list
modding/function/shpsetcontroller.txt · Last modified: by 0xabcdef
