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

UE2:AIScript (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site

Revision as of 16:10, 17 May 2008 by Wormbo (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UE2Runtime Object >> Actor >> Keypoint >> AIScript

Contents

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.

[edit] Properties

[edit] Property group 'AIScript'

[edit] ControllerClass

Type: class<AIController>


[edit] Internal variables

[edit] bLoggingEnabled

Type: bool


[edit] bNavigate

Type: bool

if true, put an associated path in the navigation network

[edit] myMarker

Type: AIMarker


[edit] Default values

Property Value
DrawScale 0.5
Texture Texture'Engine.S_AIScript'

[edit] Instance functions

[edit] GetMoveTarget

function Actor GetMoveTarget ()


[edit] SpawnControllerFor

function SpawnControllerFor (Pawn P)


[edit] TakeOver

function TakeOver (Pawn P)