BuoyAI

From Elite Wiki
Revision as of 20:36, 23 January 2006 by Arexack (talk | contribs) (moved into seperate link for clarity)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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