I'm a doctor, not a mechanic

UE2:AIScript (U2)

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

Instance functions[edit]

GetMoveTarget[edit]

function Actor GetMoveTarget ()


SpawnControllerFor[edit]

function SpawnControllerFor (Pawn P)


TakeOver[edit]

function TakeOver (Pawn P)