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

UE2:UnrealScriptedSequence (UT2004)

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

null

Properties[edit]

Property group 'UnrealScriptedSequence'[edit]

bDontChangeScripts[edit]

Type: bool

bot should go back to this script, not look for other compatible scripts

bNotInVehicle[edit]

Type: bool

bot should not attempt to use this script while in a vehicle

bRoamingScript[edit]

Type: bool

if true, roam after reaching

bSniping[edit]

Type: bool

bots should snipe when using this script as a defense point

EnemyAcquisitionScriptProbability[edit]

Type: float

likelihood that bot will use acquisitionscript

Default value: 1.0

EnemyAcquisitionScriptTag[edit]

Type: name

script to go to after leaving this script for an acquisition

priority[edit]

Type: byte

used when several scripts available (e.g. defense scripts for an objective)

SnipingVolumeTag[edit]

Type: name

area defined by volume in which to look for (distant) sniping targets

WeaponPreference[edit]

Type: class<Weapon>

bots using this defense point will preferentially use this weapon

Internal variables[edit]

bAvoid[edit]

Type: bool


bDisabled[edit]

Type: bool


bFirstScript[edit]

Type: bool

first script in list of scripts

Default value: True

bFreelance[edit]

Type: bool

true if not claimed by any game objective

Default value: True

CurrentUser[edit]

Type: Controller


EnemyAcquisitionScript[edit]

Type: UnrealScriptedSequence


NextScript[edit]

Type: UnrealScriptedSequence

list of scripts with same tag

NumChecked[edit]

Type: float


Default values[edit]

Property Value
Actions[0] ACTION_MoveToPoint'DefensePointDefaultAction1'
Actions[1] ACTION_WaitForTimer'DefensePointDefaultAction2'
ScriptControllerClass Class'UnrealGame.Bot'

Subobjects[edit]

DefensePointDefaultAction1[edit]

Class: Gameplay.ACTION_MoveToPoint

Empty subobject definition.

DefensePointDefaultAction2[edit]

Class: Gameplay.ACTION_WaitForTimer

Property Value
PauseTime 3.0

Functions[edit]

Events[edit]

BeginPlay[edit]

event BeginPlay ()

Overrides: Actor.BeginPlay


Reset[edit]

event Reset ()

Overrides: ScriptedSequence.Reset


Other instance functions[edit]

CheckForErrors[edit]

function bool CheckForErrors ()

Overrides: ScriptedSequence.CheckForErrors


FreeScript[edit]

function FreeScript ()


HigherPriorityThan[edit]

function bool HigherPriorityThan (UnrealScriptedSequence S, Bot B)