The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:AIScript (UT2003)

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

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 S_AIScript

Instance functions[edit]

GetMoveTarget[edit]

function Actor GetMoveTarget ()


SpawnControllerFor[edit]

function SpawnControllerFor (Pawn P)


TakeOver[edit]

function TakeOver (Pawn P)