AI methods

From Elite Wiki
Revision as of 22:25, 25 July 2006 by Arexack (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This entry is meant to include the methods not mentioned in the general scripting methods wiki used in AI-scipting mostly.

For now this will be a uncohesive list of stuff. ;)

exitAI //Exits the current AI and returns to the AI one below in the AIstack. setStateTo: SOME_STATE //switches AI state to SOME_STATE targetNextBeaconWithCode: XX //sets beacon with code xx as the target. setSpeedfactorTo: x.x //set speed as a fraction of the maxspeed (1.0=100%) setSpeedTo: xx //sets speed to an absolute number, up to maximum speed of vehicle. setRacepointsFromTarget //Navigation for racers performFlyRacepoints //Go!! setDesiredRangeTo: xx //Sets a range as xx metres, used by other methods. performIntercept //Intercept target to within a distance of desiredRange, messages DESIRED_RANGE_REACHED. checkDistanceTravelled. // compares to DesiredRange and messages GONE_BEYOND_RANGE or pauseAI: x //AI waits for x seconds dealEnergyDamageWithinDesiredRange //deals damage equal to weaponEnergy within all entities within desiredRange. becomeExplosion //entity becomes explosion. scriptActionOnTarget //Forces script actions on the current target. switchAITo: someAI.plist // setAITo: someAI.plist // performStop //Come to a complete halt performIdle //do nothing but conserve speed. performAttack //Attacks target groupAttackTarget //Entity will perform attack together with groupmates. performTumble //entity performs a random pitch and roll tumble. setTargetToPrimaryAggressor //sets target to the last object to attack entity. fightOrFleeMissile //entity will use ECM if available or flee.


This article is a stub. You can help EliteWiki by expanding it.