Mostly Harmless

UE2:AIScript (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UE2Runtime Object >> Actor >> Keypoint >> AIScript
Package: 
Engine
Direct subclasses:
SVehicleTrigger, ScriptedSequence
This class in other games:
U2, U2XMP, UT2003, UT2004

AIScript - used by Level Designers to specify special AI scripts for pawns placed in a level, and to change which type of AI controller to use for a pawn. AIScripts can be shared by one or many pawns. Game specific subclasses of AIScript will have editable properties defining game specific behavior and AI This is a built-in Unreal class and it shouldn't be modified.

Properties[edit]

Property group 'AIScript'[edit]

ControllerClass[edit]

Type: class<AIController>


Internal variables[edit]

bLoggingEnabled[edit]

Type: bool


bNavigate[edit]

Type: bool

if true, put an associated path in the navigation network

myMarker[edit]

Type: AIMarker


Default values[edit]

Property Value
DrawScale 0.5
Texture Texture'Engine.S_AIScript'

Instance functions[edit]

GetMoveTarget[edit]

function Actor GetMoveTarget ()


SpawnControllerFor[edit]

function SpawnControllerFor (Pawn P)


TakeOver[edit]

function TakeOver (Pawn P)