User Tools

Site Tools


modding:function:shpsetcontroller

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
modding:function:shpsetcontroller [2014/12/27 04:40] – external edit 127.0.0.1modding: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]], [[ship functions|ship]] | ^ Category | [[ai functions|ai]], [[ship functions|ship]] |
-^ 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 ship behaves+=== Supported Orders === 
-Possible values are "auton", "fleet", "fleetcommand", "ferian"+Each controller supports different set of orders in order to provide special behaviors
 +^ Controller / Order  
 +^ 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 === === Example ===
modding/function/shpsetcontroller.1419655255.txt.gz · Last modified: 2014/12/27 04:40 by 127.0.0.1