Mostly Harmless

UE2:AIController (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UE2Runtime Object >> Actor >> Controller >> AIController

Contents

Package: 
Engine
Known direct subclass:
ScriptedController
This class in other games:
U2, U2XMP, UT2003, UT2004, UT3

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.

[edit] Properties

[edit] bAdjustFromWalls

Type: bool


Default value: True

[edit] bHunting

Type: bool


[edit] MyScript

Type: AIScript


[edit] Skill

Type: float

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

[edit] Default values

Property Value
bCanDoSpecial True
bCanOpenDoors True
MinHitWall -0.5

[edit] Functions

[edit] Latent functions

[edit] WaitToSeeEnemy

native(510) final latent function WaitToSeeEnemy ()


[edit] Events

[edit] PreBeginPlay

event PreBeginPlay ()

Overrides: Controller.PreBeginPlay


[edit] PrepareForMove

event PrepareForMove (NavigationPoint Goal, ReachSpec Path)

Overrides: Controller.PrepareForMove


[edit] Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger


[edit] Other instance functions

[edit] AdjustDesireFor

function float AdjustDesireFor (Pickup P)

Overrides: Controller.AdjustDesireFor


[edit] AdjustView

function AdjustView (float DeltaTime)

Overrides: Controller.AdjustView


[edit] DisplayDebug

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

Overrides: Controller.DisplayDebug


[edit] GetFacingDirection

function int GetFacingDirection ()

Overrides: Controller.GetFacingDirection


[edit] GetOrderObject

function Actor GetOrderObject ()


[edit] GetOrders

function name GetOrders ()


[edit] MoverFinished

function MoverFinished ()

Overrides: Controller.MoverFinished


[edit] PriorityObjective

function bool PriorityObjective ()


[edit] Reset

function Reset ()

Overrides: Controller.Reset


[edit] SetOrders

function SetOrders (name NewOrders, Controller OrderGiver)


[edit] Startle

function Startle (Actor A)


[edit] TriggerScript

function bool TriggerScript (Actor Other, Pawn EventInstigator)


[edit] UnderLift

function UnderLift (Mover M)

Overrides: Controller.UnderLift


[edit] WaitForMover

function WaitForMover (Mover M)

Overrides: Controller.WaitForMover


[edit] WeaponFireAgain

function bool WeaponFireAgain (float RefireRate, bool bFinishedFire)


Personal tools