UE2:AIController (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to navigation Jump to search
UT2004 Object >> Actor >> Controller >> AIController
Package: 
Engine

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

bAdjustFromWalls

Type: bool


Default value: True

bHunting

Type: bool


bPlannedJump

Type: bool

set when doing voluntary jump

MyScript

Type: AIScript


Skill

Type: float

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

Default values

Property Value
bCanDoSpecial True
bCanOpenDoors True
MinHitWall -0.5

Functions

Latent functions

WaitToSeeEnemy

native(510) final latent function WaitToSeeEnemy ()


Events

PreBeginPlay

event PreBeginPlay ()

Overrides: Controller.PreBeginPlay


PrepareForMove

event PrepareForMove (NavigationPoint Goal, ReachSpec Path)

Overrides: Controller.PrepareForMove


Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger


Other instance functions

AdjustDesireFor

function float AdjustDesireFor (Pickup P)

Overrides: Controller.AdjustDesireFor


AdjustView

function AdjustView (float DeltaTime)

Overrides: Controller.AdjustView


DisplayDebug

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

Overrides: Controller.DisplayDebug


GetFacingDirection

function int GetFacingDirection ()

Overrides: Controller.GetFacingDirection


GetOrderObject

function Actor GetOrderObject ()


GetOrders

function name GetOrders ()


MoverFinished

function MoverFinished ()

Overrides: Controller.MoverFinished


PriorityObjective

function bool PriorityObjective ()


RateWeapon

simulated function float RateWeapon (Weapon w)

Overrides: Controller.RateWeapon


Reset

function Reset ()

Overrides: Controller.Reset


SetOrders

function SetOrders (name NewOrders, Controller OrderGiver)


Startle

function Startle (Actor A)


TriggerScript

function bool TriggerScript (Actor Other, Pawn EventInstigator)


UnderLift

function UnderLift (Mover M)

Overrides: Controller.UnderLift


WaitForMover

function WaitForMover (Mover M)

Overrides: Controller.WaitForMover


WeaponFireAgain

function bool WeaponFireAgain (float RefireRate, bool bFinishedFire)