I'm a doctor, not a mechanic

UE2:AIController (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UE2Runtime Object >> Actor >> Controller >> AIController
Package: 
Engine
Direct subclass:
ScriptedController
This class in other games:
U2, UT2003, UT2004, U2XMP, UT3, UDK

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.

Properties[edit]

bAdjustFromWalls[edit]

Type: bool


Default value: True

bHunting[edit]

Type: bool


MyScript[edit]

Type: AIScript


Skill[edit]

Type: float

skill, scaled by game difficulty (add difficulty to this value)

Default values[edit]

Property Value
bCanDoSpecial True
bCanOpenDoors True
MinHitWall -0.5

Functions[edit]

Latent functions[edit]

WaitToSeeEnemy[edit]

native(510) final latent function WaitToSeeEnemy ()


Events[edit]

PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: Controller.PreBeginPlay


PrepareForMove[edit]

event PrepareForMove (NavigationPoint Goal, ReachSpec Path)

Overrides: Controller.PrepareForMove


Trigger[edit]

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger


Other instance functions[edit]

AdjustDesireFor[edit]

function float AdjustDesireFor (Pickup P)

Overrides: Controller.AdjustDesireFor


AdjustView[edit]

function AdjustView (float DeltaTime)

Overrides: Controller.AdjustView


DisplayDebug[edit]

function DisplayDebug (Canvas Canvas, out float YL, out float YPos)

Overrides: Controller.DisplayDebug


GetFacingDirection[edit]

function int GetFacingDirection ()

Overrides: Controller.GetFacingDirection


GetOrderObject[edit]

function Actor GetOrderObject ()


GetOrders[edit]

function name GetOrders ()


MoverFinished[edit]

function MoverFinished ()

Overrides: Controller.MoverFinished


PriorityObjective[edit]

function bool PriorityObjective ()


Reset[edit]

function Reset ()

Overrides: Controller.Reset


SetOrders[edit]

function SetOrders (name NewOrders, Controller OrderGiver)


Startle[edit]

function Startle (Actor A)


TriggerScript[edit]

function bool TriggerScript (Actor Other, Pawn EventInstigator)


UnderLift[edit]

function UnderLift (Mover M)

Overrides: Controller.UnderLift


WaitForMover[edit]

function WaitForMover (Mover M)

Overrides: Controller.WaitForMover


WeaponFireAgain[edit]

function bool WeaponFireAgain (float RefireRate, bool bFinishedFire)