The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE2:AIController (U2XMP)
Object >> Actor >> Controller >> LicenseeController >> AIController |
- Package:
- Engine
- Direct subclass:
- U2NPCController
- This class in other games:
- UE2Runtime, U2, UT2003, UT2004, UT3, UDK
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
AIController, the base class of AI.
Controllers are non-physical actors that can be attached to a pawn to control its actions. AIControllers implement the artificial intelligence for the pawns they control.
This is a built-in Unreal class and it shouldn't be modified. NEW
Properties
Property group 'AI'
Skill
Type: float
Modifiers: private
NEW (mdf) NPC's base skill in 0.0..1.0
Internal variables
bAdjustFromWalls
Type: bool
Default value: True
bHunting
Type: bool
Default values
Property | Value |
---|---|
bShouldPossess | True |
MinHitWall | -0.5 |
Enums
EReaction
- REACTION_Fear
- will try to run away
- REACTION_Attack
Functions
Exec functions
SwitchToBestWeapon
Overrides: Controller.SwitchToBestWeapon
Events
PreBeginPlay
Overrides: Controller.PreBeginPlay
PrepareForMove
Overrides: Controller.PrepareForMove
UpdateTactics
Overrides: Controller.UpdateTactics
Other instance functions
AdjustDesireFor
Overrides: Controller.AdjustDesireFor
AdjustView
Overrides: Controller.AdjustView
AllowPickupWeaponSwitch
DisableSenses
DisplayDebug
Overrides: Controller.DisplayDebug
EnableSenses
GetAimingLocation
Overrides: Controller.GetAimingLocation
GetSkill
Overrides: Controller.GetSkill
GetTacticalMoveType
Overrides: Controller.GetTacticalMoveType
HearPickup
MoverFinished
Overrides: Controller.MoverFinished
Reset
Overrides: Controller.Reset
SetSkill
UnderLift
Overrides: Controller.UnderLift
WaitForMover
Overrides: Controller.WaitForMover