![]() |
Oolite 1.91.0.7668-250429-8542c40
|
Definition at line 72 of file ShipEntityAI.m.
- (void) addFoundTargetAsDefenseTarget |
Extends class ShipEntity.
Definition at line 1155 of file ShipEntityAI.m.
References ShipEntity::addDefenseTarget:, addFoundTargetAsDefenseTarget, ShipEntity::foundTarget, and nil.
Referenced by addFoundTargetAsDefenseTarget.
- (void) addFuel: | (NSString *) | fuel_number |
Extends class ShipEntity.
Definition at line 2560 of file ShipEntityAI.m.
References ShipEntity::fuel, and ShipEntity::setFuel:.
- (void) addPrimaryAggressorAsDefenseTarget |
Extends class ShipEntity.
Definition at line 979 of file ShipEntityAI.m.
References ShipEntity::addDefenseTarget:, addPrimaryAggressorAsDefenseTarget, and ShipEntity::primaryAggressor.
Referenced by addPrimaryAggressorAsDefenseTarget.
- (void) ai_debugMessage: | (NSString *) | message |
Extends class ShipEntity.
Definition at line 2650 of file ShipEntityAI.m.
References ShipEntity::name, OOLog, and Entity::universalID.
- (void) ai_throwSparks |
Extends class ShipEntity.
Definition at line 2638 of file ShipEntityAI.m.
References ai_throwSparks, and Entity::setThrowSparks:.
Referenced by ai_throwSparks.
- (void) becomeUncontrolledThargon |
Extends class ShipEntity.
Definition at line 1750 of file ShipEntityAI.m.
References becomeUncontrolledThargon, DESTROY, ShipEntity::removeDefenseTarget:, ShipEntity::removeTarget:, ShipEntity::setAITo:, ShipEntity::setGroup:, ShipEntity::setSpeed:, and UNIVERSE.
Referenced by becomeUncontrolledThargon.
- (void) checkAegis |
Extends class ShipEntity.
Definition at line 1466 of file ShipEntityAI.m.
References AEGIS_CLOSE_TO_ANY_PLANET, AEGIS_CLOSE_TO_MAIN_PLANET, AEGIS_IN_DOCKING_RANGE, AEGIS_NONE, checkAegis, ShipEntity::findNearestStellarBody, NSLog, and STELLAR_TYPE_MOON.
Referenced by checkAegis.
- (void) checkCourseToDestination |
Extends class ShipEntity.
Definition at line 1447 of file ShipEntityAI.m.
References AEGIS_NONE, checkCourseToDestination, and nil.
Referenced by checkCourseToDestination.
- (void) checkDistanceTravelled |
Extends class ShipEntity.
Definition at line 1777 of file ShipEntityAI.m.
References checkDistanceTravelled.
Referenced by checkDistanceTravelled.
- (void) checkEnergy |
Extends class ShipEntity.
Definition at line 1511 of file ShipEntityAI.m.
References checkEnergy.
Referenced by checkEnergy.
- (void) checkForFullHold |
Extends class ShipEntity.
Definition at line 1167 of file ShipEntityAI.m.
References checkForFullHold, and count.
Referenced by checkForFullHold.
- (void) checkForMotherStation |
Extends class ShipEntity.
Definition at line 2066 of file ShipEntityAI.m.
References checkForMotherStation, ShipEntity::group, Entity::isStation, OOShipGroup::leader, and Entity::position.
Referenced by checkForMotherStation.
- (void) checkForNormalSpace |
Extends class ShipEntity.
Definition at line 2481 of file ShipEntityAI.m.
References checkForNormalSpace, and UNIVERSE.
Referenced by checkForNormalSpace.
- (void) checkGroupOddsVersusTarget |
Extends class ShipEntity.
Definition at line 1859 of file ShipEntityAI.m.
References checkGroupOddsVersusTarget, OOShipGroup::count, ShipEntity::group, ShipEntity::primaryTarget, and ranrot_rand.
Referenced by checkGroupOddsVersusTarget.
- (void) checkHeatInsulation |
Extends class ShipEntity.
Definition at line 1531 of file ShipEntityAI.m.
References checkHeatInsulation, and ShipEntity::maxFlightSpeed.
Referenced by checkHeatInsulation.
- (void) checkOwnLegalStatus |
Extends class ShipEntity.
Definition at line 1391 of file ShipEntityAI.m.
References checkOwnLegalStatus, and ShipEntity::legalStatus.
Referenced by checkOwnLegalStatus.
- (void) checkTargetLegalStatus |
Extends class ShipEntity.
Definition at line 1360 of file ShipEntityAI.m.
References checkTargetLegalStatus, ShipEntity::legalStatus, and ShipEntity::primaryTarget.
Referenced by checkTargetLegalStatus.
- (void) commsMessage: | (NSString *) | valueString |
Extends class ShipEntity.
Definition at line 1665 of file ShipEntityAI.m.
References ShipEntity::commsMessage:withUnpilotedOverride:.
- (void) commsMessageByUnpiloted: | (NSString *) | valueString |
Extends class ShipEntity.
Definition at line 1671 of file ShipEntityAI.m.
References ShipEntity::commsMessage:withUnpilotedOverride:.
- (void) debugDumpPendingMessages |
Extends class ShipEntity.
Definition at line 890 of file ShipEntityAI.m.
References debugDumpPendingMessages.
Referenced by debugDumpPendingMessages.
|
implementation |
Extends class ShipEntity.
Definition at line 1641 of file ShipEntityAI.m.
References disengageAutopilot, and OOLogERR.
Referenced by disengageAutopilot.
- (void) dropMessages: | (NSString *) | messageString |
Extends class ShipEntity.
Definition at line 875 of file ShipEntityAI.m.
References nil.
- (void) ejectCargo |
Extends class ShipEntity.
Definition at line 1677 of file ShipEntityAI.m.
References ShipEntity::dumpCargo, ejectCargo, ShipEntity::maxAvailableCargoSpace, and ranrot_rand.
Referenced by ejectCargo.
- (void) escortCheckMother |
Extends class ShipEntity.
Definition at line 1840 of file ShipEntityAI.m.
References escortCheckMother, ShipEntity::escortGroup, Entity::owner, ShipEntity::setGroup:, and ShipEntity::setOwner:.
Referenced by escortCheckMother.
- (void) exitAIWithMessage: | (NSString *) | message |
Extends class ShipEntity.
Definition at line 1418 of file ShipEntityAI.m.
- (void) explodeSelf |
Extends class ShipEntity.
Definition at line 2644 of file ShipEntityAI.m.
References explodeSelf, and ShipEntity::getDestroyedBy:damageType:.
Referenced by explodeSelf.
- (void) fightOrFleeHostiles |
Extends class ShipEntity.
Definition at line 1784 of file ShipEntityAI.m.
References ShipEntity::addDefenseTarget:, ShipEntity::addTarget:, ShipEntity::deployEscorts, fightOrFleeHostiles, ShipEntity::fireMissile, ShipEntity::foundTarget, ShipEntity::lastEscortTarget, nil, randf(), ShipEntity::setFoundTarget:, and ShipEntity::setPrimaryAggressor:.
Referenced by fightOrFleeHostiles.
- (void) fightOrFleeMissile |
Extends class ShipEntity.
Definition at line 1231 of file ShipEntityAI.m.
References ShipEntity::addDefenseTarget:, ShipEntity::addTarget:, ShipEntity::checkScannerIgnoringUnpowered, ShipEntity::doScriptEvent:withArgument:, fightOrFleeMissile, ShipEntity::fireECM, ShipEntity::markAsOffender:withReason:, nil, Entity::owner, ShipEntity::performFlee, ShipEntity::primaryTarget, ShipEntity::scanClass, ShipEntity::setFoundTarget:, and ShipEntity::setPrimaryAggressor:.
Referenced by fightOrFleeMissile.
- (void) findNewDefenseTarget |
Extends class ShipEntity.
Definition at line 1544 of file ShipEntityAI.m.
References ShipEntity::addDefenseTarget:, ShipEntity::checkScanner, and findNewDefenseTarget.
Referenced by findNewDefenseTarget.
- (void) getWitchspaceEntryCoordinates |
Extends class ShipEntity.
Definition at line 1187 of file ShipEntityAI.m.
References getWitchspaceEntryCoordinates, nil, SCANNER_MAX_RANGE2, and UNIVERSE.
Referenced by getWitchspaceEntryCoordinates.
- (void) landOnPlanet |
Extends class ShipEntity.
Definition at line 1353 of file ShipEntityAI.m.
References ShipEntity::findNearestPlanet, landOnPlanet, and ShipEntity::landOnPlanet:.
Referenced by landOnPlanet.
- (void) markTargetForFines |
Extends class ShipEntity.
Definition at line 2097 of file ShipEntityAI.m.
References markTargetForFines, nil, ShipEntity::noteLostTarget, and ShipEntity::primaryTarget.
Referenced by markTargetForFines.
- (void) markTargetForOffence: | (NSString *) | valueString |
Extends class ShipEntity.
Definition at line 2109 of file ShipEntityAI.m.
References ShipEntity::markAsOffender:withReason:, nil, ShipEntity::noteLostTarget, OOExpand, and ShipEntity::primaryTarget.
- (void) messageMother: | (NSString *) | msgString |
Extends class ShipEntity.
Definition at line 1917 of file ShipEntityAI.m.
References nil, Entity::owner, and ShipEntity::reactToAIMessage:context:.
|
implementation |
Extends class ShipEntity.
Definition at line 1931 of file ShipEntityAI.m.
References ShipEntity::sendAIMessage:.
- (void) patrolReportIn |
Extends class ShipEntity.
Definition at line 2057 of file ShipEntityAI.m.
References StationEntity::acceptPatrolReportFrom:, ShipEntity::group, OOShipGroup::leader, and patrolReportIn.
Referenced by patrolReportIn.
- (void) pauseAI: | (NSString *) | intervalString |
Extends class ShipEntity.
Definition at line 851 of file ShipEntityAI.m.
- (void) performFlyRacepoints |
Extends class ShipEntity.
Definition at line 2732 of file ShipEntityAI.m.
References performFlyRacepoints.
Referenced by performFlyRacepoints.
- (void) performHyperSpaceExit |
Extends class ShipEntity.
Definition at line 1629 of file ShipEntityAI.m.
References performHyperSpaceExit, and ShipEntity::performHyperSpaceExitReplace:.
Referenced by performHyperSpaceExit.
- (void) performHyperSpaceExitWithoutReplacing |
Extends class ShipEntity.
Definition at line 1635 of file ShipEntityAI.m.
References ShipEntity::performHyperSpaceExitReplace:, and performHyperSpaceExitWithoutReplacing.
Referenced by performHyperSpaceExitWithoutReplacing.
- (void) randomPauseAI: | (NSString *) | intervalString |
Extends class ShipEntity.
Definition at line 857 of file ShipEntityAI.m.
References count, OOLog, and ScanTokensFromString().
- (void) recallStoredTarget |
Extends class ShipEntity.
Definition at line 2140 of file ShipEntityAI.m.
References DESTROY, nil, recallStoredTarget, SCANNER_MAX_RANGE2, and ShipEntity::setFoundTarget:.
Referenced by recallStoredTarget.
- (void) requestNewTarget |
Extends class ShipEntity.
Definition at line 2233 of file ShipEntityAI.m.
References ShipEntity::checkFoundTarget, ShipEntity::checkScanner, DESTROY, Entity::energy, ShipEntity::group, OOShipGroup::leader, nil, requestNewTarget, and ShipEntity::setFoundTarget:.
Referenced by requestNewTarget.
- (void) rollD: | (NSString *) | die_number |
Extends class ShipEntity.
Definition at line 2267 of file ShipEntityAI.m.
References OOLog, and ranrot_rand.
|
implementation |
Extends class ShipEntity.
Definition at line 2601 of file ShipEntityAI.m.
References ShipEntity::getAI, AI::name, nil, PLAYER, ShipEntity::primaryTarget, PlayerEntity::runUnsanitizedScriptActions:allowingAIMethods:withContextName:forTarget:, PlayerEntity::scriptTarget, PlayerEntity::setScriptTarget:, and AI::state.
- (void) scanForFormationLeader |
Extends class ShipEntity.
Definition at line 1881 of file ShipEntityAI.m.
References ShipEntity::checkScannerIgnoringUnpowered, DESTROY, Entity::isPlayer, nil, ShipEntity::scanClass, scanForFormationLeader, ShipEntity::setAITo:, ShipEntity::setFoundTarget:, and ShipEntity::setPrimaryRole:.
Referenced by scanForFormationLeader.
- (void) scanForLoot |
Extends class ShipEntity.
Definition at line 1057 of file ShipEntityAI.m.
References CARGO_NOT_CARGO, ShipEntity::checkFoundTarget, ShipEntity::checkScanner, count, DESTROY, scanForLoot, and ShipEntity::setFoundTarget:.
Referenced by scanForLoot.
- (void) scanForNearestMerchantman |
Extends class ShipEntity.
Definition at line 994 of file ShipEntityAI.m.
References ShipEntity::checkFoundTarget, ShipEntity::checkScannerIgnoringUnpowered, DESTROY, Entity::isPlayer, nil, PIRATES_PREFER_PLAYER, scanForNearestMerchantman, and ShipEntity::setFoundTarget:.
Referenced by scanForNearestMerchantman.
- (void) scanForNearestShipHavingAnyRole: | (NSString *) | scanRoles |
Extends class ShipEntity.
Definition at line 2302 of file ShipEntityAI.m.
References ShipEntity::scanForNearestShipWithPredicate:parameter:.
- (void) scanForNearestShipHavingRole: | (NSString *) | scanRole |
Extends class ShipEntity.
Definition at line 2289 of file ShipEntityAI.m.
References ShipEntity::scanForNearestShipWithPredicate:parameter:.
|
implementation |
Extends class ShipEntity.
Definition at line 2349 of file ShipEntityAI.m.
References DESTROY, ShipEntity::getAI, AI::message:, AI::name, nil, OOJSAcquireContext(), OOJSObjectFromNativeObject(), OOJSRelinquishContext(), OOLog, and ShipEntity::scanForNearestShipWithPredicate:parameter:.
- (void) scanForNearestShipNotHavingAnyRole: | (NSString *) | scanRoles |
Extends class ShipEntity.
Definition at line 2335 of file ShipEntityAI.m.
References ShipEntity::scanForNearestShipWithNegatedPredicate:parameter:.
- (void) scanForNearestShipNotHavingRole: | (NSString *) | scanRole |
Extends class ShipEntity.
Definition at line 2322 of file ShipEntityAI.m.
References ShipEntity::scanForNearestShipWithNegatedPredicate:parameter:.
- (void) scanForNearestShipWithAnyPrimaryRole: | (NSString *) | scanRoles |
Extends class ShipEntity.
Definition at line 2295 of file ShipEntityAI.m.
References ShipEntity::scanForNearestShipWithPredicate:parameter:.
- (void) scanForNearestShipWithoutAnyPrimaryRole: | (NSString *) | scanRoles |
Extends class ShipEntity.
Definition at line 2328 of file ShipEntityAI.m.
References ShipEntity::scanForNearestShipWithNegatedPredicate:parameter:.
- (void) scanForNearestShipWithoutPrimaryRole: | (NSString *) | scanRole |
Extends class ShipEntity.
Definition at line 2316 of file ShipEntityAI.m.
References ShipEntity::scanForNearestShipWithNegatedPredicate:parameter:.
- (void) scanForNearestShipWithoutScanClass: | (NSString *) | scanScanClass |
Extends class ShipEntity.
Definition at line 2342 of file ShipEntityAI.m.
References ShipEntity::scanForNearestShipWithNegatedPredicate:parameter:.
- (void) scanForNearestShipWithPrimaryRole: | (NSString *) | scanRole |
Extends class ShipEntity.
Definition at line 2283 of file ShipEntityAI.m.
References ShipEntity::scanForNearestShipWithPredicate:parameter:.
- (void) scanForNearestShipWithScanClass: | (NSString *) | scanScanClass |
Extends class ShipEntity.
Definition at line 2309 of file ShipEntityAI.m.
References ShipEntity::scanForNearestShipWithPredicate:parameter:.
- (void) scanForNonThargoid |
Extends class ShipEntity.
Definition at line 1698 of file ShipEntityAI.m.
References ShipEntity::checkFoundTarget, ShipEntity::checkScanner, DESTROY, scanForNonThargoid, and ShipEntity::setFoundTarget:.
Referenced by scanForNonThargoid.
- (void) scanForOffenders |
Extends class ShipEntity.
Definition at line 1563 of file ShipEntityAI.m.
References ShipEntity::checkFoundTarget, ShipEntity::checkScanner, DESTROY, ShipEntity::group, ShipEntity::legalStatus, nil, ranrot_rand, ShipEntity::scanClass, scanForOffenders, ShipEntity::setFoundTarget:, and UNIVERSE.
Referenced by scanForOffenders.
- (void) scanForRandomLoot |
Extends class ShipEntity.
Definition at line 1108 of file ShipEntityAI.m.
References CARGO_NOT_CARGO, ShipEntity::checkScanner, DESTROY, scanForRandomLoot, and ShipEntity::setFoundTarget:.
Referenced by scanForRandomLoot.
- (void) scanForRandomMerchantman |
Extends class ShipEntity.
Definition at line 1028 of file ShipEntityAI.m.
References ShipEntity::checkScannerIgnoringUnpowered, DESTROY, ranrot_rand, scanForRandomMerchantman, and ShipEntity::setFoundTarget:.
Referenced by scanForRandomMerchantman.
- (void) scanForRocks |
Extends class ShipEntity.
Definition at line 2167 of file ShipEntityAI.m.
References ShipEntity::checkFoundTarget, ShipEntity::checkScanner, DESTROY, nil, scanForRocks, and ShipEntity::setFoundTarget:.
Referenced by scanForRocks.
- (void) scanForThargoid |
Extends class ShipEntity.
Definition at line 1692 of file ShipEntityAI.m.
References ShipEntity::scanForNearestShipWithPrimaryRole:, and scanForThargoid.
Referenced by scanForThargoid.
- (void) scriptActionOnTarget: | (NSString *) | action |
Extends class ShipEntity.
Definition at line 2567 of file ShipEntityAI.m.
References PlayerEntity::checkScript, ShipEntity::getAI, AI::name, nil, OOLog, PLAYER, ShipEntity::primaryTarget, PlayerEntity::runUnsanitizedScriptActions:allowingAIMethods:withContextName:forTarget:, PlayerEntity::scriptTarget, PlayerEntity::setScriptTarget:, and AI::state.
- (void) sendScriptMessage: | (NSString *) | message |
Extends class ShipEntity.
Definition at line 2621 of file ShipEntityAI.m.
References count, ShipEntity::doScriptEvent:, ShipEntity::doScriptEvent:withArgument:, and ScanTokensFromString().
- (void) sendTargetCommsMessage: | (NSString *) | message |
Extends class ShipEntity.
Definition at line 2085 of file ShipEntityAI.m.
References nil, ShipEntity::noteLostTarget, ShipEntity::primaryTarget, and ShipEntity::sendExpandedMessage:toShip:.
- (void) setCoordinates: | (NSString *) | system_x_y_z |
Extends class ShipEntity.
Definition at line 2447 of file ShipEntityAI.m.
References count, nil, OOLog, and ScanTokensFromString().
- (void) setCoordinatesFromPosition |
Extends class ShipEntity.
Definition at line 1225 of file ShipEntityAI.m.
References setCoordinatesFromPosition.
Referenced by setCoordinatesFromPosition.
- (void) setCourseToPlanet |
Extends class ShipEntity.
Definition at line 1311 of file ShipEntityAI.m.
References AEGIS_NONE, ShipEntity::findNearestPlanetExcludingMoons, randf(), and setCourseToPlanet.
Referenced by setCourseToPlanet.
- (void) setCourseToWitchpoint |
Extends class ShipEntity.
Definition at line 1604 of file ShipEntityAI.m.
References setCourseToWitchpoint, and UNIVERSE.
Referenced by setCourseToWitchpoint.
- (void) setDesiredRangeForWaypoint |
Extends class ShipEntity.
Definition at line 916 of file ShipEntityAI.m.
References setDesiredRangeForWaypoint.
Referenced by setDesiredRangeForWaypoint.
- (void) setDesiredRangeTo: | (NSString *) | rangeString |
Extends class ShipEntity.
Definition at line 911 of file ShipEntityAI.m.
- (void) setDestinationFromCoordinates |
Extends class ShipEntity.
Definition at line 1219 of file ShipEntityAI.m.
References setDestinationFromCoordinates.
Referenced by setDestinationFromCoordinates.
- (void) setDestinationToCurrentLocation |
Extends class ShipEntity.
Definition at line 896 of file ShipEntityAI.m.
References OOHPVectorRandomSpatial(), and setDestinationToCurrentLocation.
Referenced by setDestinationToCurrentLocation.
- (void) setDestinationToDockingAbort |
Extends class ShipEntity.
Definition at line 2211 of file ShipEntityAI.m.
References kZeroHPVector, Entity::position, randf(), setDestinationToDockingAbort, and ShipEntity::targetStation.
Referenced by setDestinationToDockingAbort.
|
implementation |
Extends class ShipEntity.
Definition at line 903 of file ShipEntityAI.m.
References OOVectorRandomSpatial(), and setDestinationToJinkPosition.
Referenced by setDestinationToJinkPosition.
- (void) setDestinationToStationBeacon |
Extends class ShipEntity.
Definition at line 1620 of file ShipEntityAI.m.
References setDestinationToStationBeacon, and UNIVERSE.
Referenced by setDestinationToStationBeacon.
- (void) setDestinationToTarget |
Extends class ShipEntity.
Definition at line 1425 of file ShipEntityAI.m.
References Entity::position, ShipEntity::primaryTarget, and setDestinationToTarget.
Referenced by setDestinationToTarget.
- (void) setDestinationToWitchpoint |
Extends class ShipEntity.
Definition at line 1614 of file ShipEntityAI.m.
References setDestinationToWitchpoint.
Referenced by setDestinationToWitchpoint.
- (void) setDestinationWithinTarget |
Extends class ShipEntity.
Definition at line 1433 of file ShipEntityAI.m.
References Entity::collision_radius, Entity::position, ShipEntity::primaryTarget, quaternion_set_random(), randf(), setDestinationWithinTarget, and vector_forward_from_quaternion().
Referenced by setDestinationWithinTarget.
- (void) setPlanetPatrolCoordinates |
Extends class ShipEntity.
Definition at line 1937 of file ShipEntityAI.m.
References ShipEntity::forwardVector, ShipEntity::group, OOShipGroup::leader, Entity::position, randf(), ShipEntity::setAITo:, setPlanetPatrolCoordinates, and ShipEntity::setTargetStation:.
Referenced by setPlanetPatrolCoordinates.
- (void) setRacepointsFromTarget |
Extends class ShipEntity.
Definition at line 2710 of file ShipEntityAI.m.
References Entity::collision_radius, nil, Entity::position, ShipEntity::primaryTarget, setRacepointsFromTarget, and ShipEntity::v_forward.
Referenced by setRacepointsFromTarget.
- (void) setSpeedFactorTo: | (NSString *) | speedString |
Extends class ShipEntity.
Definition at line 927 of file ShipEntityAI.m.
- (void) setSpeedTo: | (NSString *) | speedString |
Extends class ShipEntity.
Definition at line 921 of file ShipEntityAI.m.
- (void) setSpeedToCruiseSpeed |
Extends class ShipEntity.
Definition at line 932 of file ShipEntityAI.m.
References setSpeedToCruiseSpeed.
Referenced by setSpeedToCruiseSpeed.
- (void) setStateTo: | (NSString *) | state |
Extends class ShipEntity.
Definition at line 845 of file ShipEntityAI.m.
References ShipEntity::getAI, and AI::setState:.
- (void) setSunSkimEndCoordinates |
Extends class ShipEntity.
Definition at line 2027 of file ShipEntityAI.m.
References nil, setSunSkimEndCoordinates, and UNIVERSE.
Referenced by setSunSkimEndCoordinates.
- (void) setSunSkimExitCoordinates |
Extends class ShipEntity.
Definition at line 2040 of file ShipEntityAI.m.
References nil, Entity::position, and setSunSkimExitCoordinates.
Referenced by setSunSkimExitCoordinates.
- (void) setSunSkimStartCoordinates |
Extends class ShipEntity.
Definition at line 2005 of file ShipEntityAI.m.
References kZeroHPVector, nil, setSunSkimStartCoordinates, and UNIVERSE.
Referenced by setSunSkimStartCoordinates.
- (void) setTakeOffFromPlanet |
Extends class ShipEntity.
Definition at line 1336 of file ShipEntityAI.m.
References ShipEntity::findNearestPlanet, OOLog, and setTakeOffFromPlanet.
Referenced by setTakeOffFromPlanet.
- (void) setTargetToFoundTarget |
Extends class ShipEntity.
Definition at line 1142 of file ShipEntityAI.m.
References ShipEntity::addTarget:, ShipEntity::foundTarget, nil, and setTargetToFoundTarget.
Referenced by setTargetToFoundTarget.
- (void) setTargetToLastStation |
Extends class ShipEntity.
Definition at line 2543 of file ShipEntityAI.m.
References ShipEntity::addTarget:, nil, ShipEntity::setTargetStation:, setTargetToLastStation, and ShipEntity::targetStation.
Referenced by setTargetToLastStation.
- (void) setTargetToPrimaryAggressor |
Extends class ShipEntity.
Definition at line 943 of file ShipEntityAI.m.
References ShipEntity::addDefenseTarget:, ShipEntity::addTarget:, ShipEntity::doScriptEvent:withArgument:, ShipEntity::getAI, Entity::isShip, AI::message:, ShipEntity::primaryAggressor, ShipEntity::primaryTarget, randf(), setTargetToPrimaryAggressor, and Entity::universalID.
Referenced by setTargetToPrimaryAggressor.
- (void) setTargetToRandomStation |
Extends class ShipEntity.
Definition at line 2490 of file ShipEntityAI.m.
References ShipEntity::addTarget:, nil, ranrot_rand, ShipEntity::setTargetStation:, setTargetToRandomStation, and UNIVERSE.
Referenced by setTargetToRandomStation.
- (void) setThrustFactorTo: | (NSString *) | thrustFactorString |
Extends class ShipEntity.
Definition at line 937 of file ShipEntityAI.m.
- (void) storeTarget |
Extends class ShipEntity.
Definition at line 2125 of file ShipEntityAI.m.
References DESTROY, ShipEntity::primaryTarget, ShipEntity::setRememberedShip:, and storeTarget.
Referenced by storeTarget.
- (void) suggestEscort |
Extends class ShipEntity.
Definition at line 1832 of file ShipEntityAI.m.
References ShipEntity::primaryTarget, suggestEscort, and ShipEntity::suggestEscortTo:.
Referenced by suggestEscort.
- (void) targetFirstBeaconWithCode: | (NSString *) | code |
Extends class ShipEntity.
Definition at line 2660 of file ShipEntityAI.m.
References ShipEntity::addTarget:, and count.
- (void) targetNextBeaconWithCode: | (NSString *) | code |
Extends class ShipEntity.
Definition at line 2673 of file ShipEntityAI.m.
References ShipEntity::addTarget:, count, and ShipEntity::primaryTarget.
- (void) thargonCheckMother |
Extends class ShipEntity.
Definition at line 1722 of file ShipEntityAI.m.
References ShipEntity::group, OOShipGroup::leader, nil, Entity::owner, Entity::position, ShipEntity::scanForNearestShipHavingRole:, ShipEntity::setGroup:, ShipEntity::setOwner:, and thargonCheckMother.
Referenced by thargonCheckMother.
- (void) wormholeGroup |
Extends class ShipEntity.
Definition at line 1647 of file ShipEntityAI.m.
References ShipEntity::addTarget:, ShipEntity::doScriptEvent:withArgument:, nil, ShipEntity::primaryTarget, ShipEntity::reactToAIMessage:context:, and wormholeGroup.
Referenced by wormholeGroup.