modding:function:shpsetcontroller
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| modding:function:shpsetcontroller [2014/12/27 04:40] – external edit 127.0.0.1 | modding:function:shpsetcontroller [2017/06/25 05:55] (current) – (remove notepad++ regex) 0xabcdef | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Discuss this page on this page's [[shpSetController Talk Page|Talk ;Page]] | + | Discuss this page on this page's [[shpSetController Talk Page|Talk ;Page]] |
| === shpSetController === | === shpSetController === | ||
| Line 10: | Line 10: | ||
| ^ Returns | condition: True if successful, Nil otherwise. | | ^ Returns | condition: True if successful, Nil otherwise. | | ||
| ^ Category | [[ai functions|ai]], | ^ Category | [[ai functions|ai]], | ||
| - | ^ Description | Changes the ai of the ship. | | + | ^ Description | Changes the way that a ship behaves and carries out orders. | |
| - | Very interesting function allowing you to change the way a ship behaves. | + | === Supported Orders === |
| - | Possible values are "auton", "fleet", "fleetcommand", " | + | Each controller supports |
| + | ^ Controller / Order | ||
| + | ^ Order / Controller ^ (standard) ^ | ||
| + | ^ 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 === | === Example === | ||
modding/function/shpsetcontroller.1419655255.txt.gz · Last modified: by 127.0.0.1
