Gah - a solution with more questions. – EntropicLqd

Legacy:AIScript

From Unreal Wiki, The Unreal Engine Documentation Site

Revision as of 00:56, 18 December 2005 by SuperApe (Talk)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT2003 :: Object >> Actor >> Keypoint >> 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 the base class for ScriptedSequence.

Contents

[edit] Properties

[edit] Main

class<AIController> ControllerClass 

[edit] Hidden

bool bNavigate 
If true, put an associated path in the navigation network
bool bLoggingEnabled 
AIMarker myMarker 
The NavigationPoint created when bot paths are built

[edit] Functions

(incomplete)

SpawnControllerFor(Pawn P) 
Spawn and initialize an AI Controller (called by a non-player controlled Pawn at level startup) This sets the Controller.MyScript property and calls Controller.Possess
GetMoveTarget() 
Returns the myMarker property as an Actor

[edit] Known Subclasses

[edit] Related Topics

[edit] Discussion

SuperApe: Filled in properties and functions. Linked up.