OXP howto AI
Methods for AI
acceptDistressMessageFrom:(ShipEntity *)other;
addFuel:(NSString*) fuel_number;
broadcastDistressMessage;
checkCourseToDestination;
checkDistanceTravelled;
checkGroupOddsVersusTarget;
checkForFullHold;
checkForMotherStation;
checkForNormalSpace;
checkTargetLegalStatus;
commsMessage:(NSString *)valueString;
ejectCargo;
enterTargetWormhole;
escortCheckMother;
exitAI;
fightOrFleeHostiles;
fightOrFleeMissile;
findNearestPlanet; (PlanetEntity *)
getWitchspaceEntryCoordinates;
groupAttackTarget;
initialiseTurret;
landOnPlanet;
markTargetForFines;
messageMother:(NSString *)msgString;
numberOfShipsInGroup:(int) ship_group_id;
patrolReportIn;
pauseAI:(NSString *)intervalString;
performAttack;
performCollect;
performDocking;
performEscort;
performFaceDestination;
performFlee;
performFlyToRangeFromDestination;
performHold;
performHyperSpaceExit;
performIdle;
performIntercept;
performMining;
performTumble;
recallDockingInstructions;
requestDockingCoordinates;
requestNewTarget;
rollD:(NSString*) die_number;
scanForFormationLeader;
scanForHostiles;
scanForLoot;
scanForNearestMerchantmen;
scanForNearestShipWithRole:(NSString*) scanRole;
scanForNonThargoid;
scanForOffenders;
scanForRandomLoot;
scanForRandomMerchantmen;
scanForRocks;
scanForThargoid;
scriptActionOnTarget:(NSString*) action;
sendTargetCommsMessage:(NSString*) message;
setAITo:(NSString *)aiString;
setCoordinates:(NSString *)system_x_y_z;
setCourseToPlanet;
setCourseToWitchpoint;
setDesiredRangeTo:(NSString *)rangeString;
setDestinationFromCoordinates;
setDestinationToCurrentLocation;
setDestinationToDockingAbort;
setDestinationToStationBeacon;
setDestinationToTarget;
setDestinationToWitchpoint;
setDestinationWithinTarget;
setPlanetPatrolCoordinates;
setSpeedTo:(NSString *)speedString;
setSpeedFactorTo:(NSString *)speedString;
setSunSkimEndCoordinates;
setSunSkimExitCoordinates;
setSunSkimStartCoordinates;
setTakeOffFromPlanet;
setTargetToFoundTarget;
setTargetToPrimaryAggressor;
suggestEscort;
switchAITo:(NSString *)aiString;
wormholeEntireGroup;
wormholeEscorts;
wormholeGroup;
stub