Difference between revisions of "BuoyAI"

From Elite Wiki
m (moved into seperate link for clarity)
 
m
Line 21: Line 21:
 
== Links ==
 
== Links ==
 
Back to: [[AI]]
 
Back to: [[AI]]
  +
  +
[[Category:Oolite]]

Revision as of 15:35, 11 July 2006

This AI has only one state, the mandatory GLOBAL state, and responds to only two messages: ENTER which is sent when the AI enters the state and whichtells the piloting behaviour to idle, and ATTACKED which is sent when the ship suffers damage from an aggressor and to which the buoy responds by targetting the aggressor and broadcasting a distress message.

<dict>
	<key>GLOBAL</key>
	<dict>
		<key>ATTACKED</key>
		<array>
			<string>setTargetToPrimaryAggressor</string>
			<string>broadcastDistressMessage</string>
		</array>
		<key>ENTER</key>
		<array>
			<string>performIdle</string>
		</array>
		<key>EXIT</key>
		<array/>
		<key>UPDATE</key>
		<array/>
	</dict>
</dict>

Links

Back to: AI