Cogito, ergo sum

UE2:AIScript (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Keypoint >> AIScript
Package: 
Engine
Direct subclass:
ScriptedSequence
This class in other games:
UT2003, U2XMP, 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

Property group 'AIScript'

ControllerClass

Type: class<AIController>


Internal variables

bLoggingEnabled

Type: bool


bNavigate

Type: bool

if true, put an associated path in the navigation network

myMarker

Type: AIMarker


Default values

Property Value
DrawScale 0.5
Texture S_AIScript

Instance functions

GetMoveTarget

function Actor GetMoveTarget ()


SpawnControllerFor

function SpawnControllerFor (Pawn P)


TakeOver

function TakeOver (Pawn P)