Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE2:ScriptControllerBase constants (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

Contents

;Other member categories for this class::enums, instance functions, internal variables, states

Constants[edit]

MaxCommandInfoEntries[edit]

Value: 128

size of commands list

MaxEvents[edit]

Value: 32

max number of events in event info list

MaxTriggerEvents[edit]

Value: 32

max number of tracked triggers

MaxPushedCommandIndices[edit]

Value: 32

maximum call/interrupt depth

MaxPatrolSize[edit]

Value: 128

max length of patrol that can be used with resumepatrol

MaxTimers[edit]

Value: 10

max number of timers (ontimer and ontrigger timers)

MaxTriggerTimers[edit]

Value: 5

max number of trigger timers (uses bottom of Timers list)

MaxGeneralTimers[edit]

Value: 5


Debug_None[edit]

Value: 0x0000

don't show any debug info

Debug_Info[edit]

Value: 0x0001

show internal debug info

Debug_Commands[edit]

Value: 0x0002

dump commands and log executed commands

Debug_Events[edit]

Value: 0x0004

dump events as they are received

Debug_Jumps[edit]

Value: 0x0008

log control flow changes (gotos, calls, onevents etc.)

DefaultExt[edit]

Value: ".u2s"


BroadcastErrorState[edit]

Value: 'BroadcastError'


ChangingStanceState[edit]

Value: 'ChangingStance'


DetachingState[edit]

Value: 'Detaching'


ExecuteCommandsState[edit]

Value: 'ExecuteCommands'


FiringState[edit]

Value: 'Firing'


SleepingState[edit]

Value: 'Sleeping'


WaitActorInRangeState[edit]

Value: 'WaitActorInRange'


WaitActorOutOfRangeState[edit]

Value: 'WaitActorOutOfRange'


WaitAnimEndState[edit]

Value: 'WaitAnimEnd'

only really needed for waiting for end of scripted animations

WaitBumpEnemyState[edit]

Value: 'WaitBumpEnemy'


WaitBumpFriendState[edit]

Value: 'WaitBumpFriend'


WaitBumpOtherState[edit]

Value: 'WaitBumpOther'


WaitBumpPlayerState[edit]

Value: 'WaitBumpPlayer'


WaitDestinationReachedState[edit]

Value: 'WaitDestinationReached'


WaitDialogBeginState[edit]

Value: 'WaitDialogBegin'


WaitDialogPausedState[edit]

Value: 'WaitDialogPaused'


WaitDialogFarPausedState[edit]

Value: 'WaitDialogFarPaused'


WaitDiedState[edit]

Value: 'WaitDied'


WaitFinishedRotationState[edit]

Value: 'WaitFinishedRotation'


WaitHearNoiseFriendlyState[edit]

Value: 'WaitHearNoiseFriendly'


WaitHearNoiseOtherState[edit]

Value: 'WaitHearNoiseOther'


WaitHearNoiseThreatState[edit]

Value: 'WaitHearNoiseThreat'


WaitScriptedLandingState[edit]

Value: 'WaitScriptedLanding'


WaitSeeEnemyState[edit]

Value: 'WaitSeeEnemy'


WaitSeeFriendState[edit]

Value: 'WaitSeeFriend'


WaitSeeOtherState[edit]

Value: 'WaitSeeOther'


WaitSeePlayerState[edit]

Value: 'WaitSeePlayer'


WaitTakeDamageState[edit]

Value: 'WaitTakeDamage'


WaitTookDamageState[edit]

Value: 'WaitTookDamage'


WaitTookDamageEnemyState[edit]

Value: 'WaitTookDamageEnemy'


WaitTookDamageFriendState[edit]

Value: 'WaitTookDamageFriend'


WaitTriggerState[edit]

Value: 'WaitTrigger'


ActorInRangeEvent[edit]

Value: 'ActorInRange'

generated when the InRangeActor comes within the InRangeDistance

ActorOutOfRangeEvent[edit]

Value: 'ActorOutOfRange'

generated once when the InRangeActor comes goes out of the InRangeDistance

AnimEndEvent[edit]

Value: 'AnimEnd'

goes to Controller unless Pawn has no Controller (dying state)

AutoBeginEvent[edit]

Value: 'AutoBegin'

goes to Controller, generated by U2NPCControllerScriptable

AutoEndEvent[edit]

Value: 'AutoEnd'

goes to Controller, generated by Controller

BumpEnemyEvent[edit]

Value: 'BumpEnemy'

NotifyBump --> Controller --> BumpEnemy/Friend/Other

BumpFriendEvent[edit]

Value: 'BumpFriend'

NotifyBump --> Controller --> BumpEnemy/Friend/Other

BumpOtherEvent[edit]

Value: 'BumpOther'

NotifyBump --> Controller --> BumpEnemy/Friend/Other

BumpPlayerEvent[edit]

Value: 'BumpPlayer'

not an actual event: eventwait BumpPlayer --> BumpEnemy/BumpFriend checked for player

DestinationReachedEvent[edit]

Value: 'DestinationReached'

goes to Controller

DialogBeginEvent[edit]

Value: 'DialogBegin'

generated by Controller before destroyed

DialogUnPauseEvent[edit]

Value: 'DialogUnPause'

generated when dialog unpauses npc's script

DiedEvent[edit]

Value: 'Died'

generated by Controller before destroyed

EnemyNotVisibleEvent[edit]

Value: 'EnemyNotVisible'

goes to Controller

HearNoiseFriendlyEvent[edit]

Value: 'HearNoiseFriendly'

HearNoise --> Controller --> HearNoiseFriendly

HearNoiseOtherEvent[edit]

Value: 'HearNoiseOther'

HearNoise --> Controller --> HearNoiseOther

HearNoiseThreatEvent[edit]

Value: 'HearNoiseThreat'

HearNoise --> Controller --> HearNoiseThreat

InheritEnemyEvent[edit]

Value: 'InheritEnemy'

generated when NPC could inherit another NPC's Enemy

ScriptedLandingEvent[edit]

Value: 'ScriptedLanding'

generated when NPC in scripted state lands (not passed back to NPC)

SeeAlertFriendEvent[edit]

Value: 'SeeAlertFriend'

SeeAlertFriend --> Controller

SeeEnemyEvent[edit]

Value: 'SeeEnemy'

SeeEnemy --> Controller

SeeFriendEvent[edit]

Value: 'SeeFriend'

SeeFriend --> Controller --> SeeFriend

SeeOtherEvent[edit]

Value: 'SeeOther'

SeeOther --> Controller --> SeeOther

SeePlayerEvent[edit]

Value: 'SeePlayer'

not an actual event: eventwait SeePlayer --> SeeEnemy/SeeFriend checked for player

TakeDamageEvent[edit]

Value: 'TakeDamage'

goes to Pawn

TookDamageEvent[edit]

Value: 'TookDamage'

eventTakeDamage --> TookDamage generated by U2NPCControllerScriptable

TookDamageEnemyEvent[edit]

Value: 'TookDamageEnemy'

generated internall from TookDamage for use by scripts only

TookDamageFriendEvent[edit]

Value: 'TookDamageFriend'

generated internall from TookDamage for use by scripts only

TriggerEvent[edit]

Value: 'Trigger'


BroadcastErrorMessageTimerName[edit]

Value: 'BroadcastErrorMessage'


ResumeProcessingTimerName[edit]

Value: 'ResumeProcessing'


StanceChangeDoneTimerName[edit]

Value: 'StanceChangeDone'


StopFiringTimerName[edit]

Value: 'StopFiring'


StopFiringBackupTimerName[edit]

Value: 'StopFiringBackup'


MaxArgsByte[edit]

Value: 5


MaxArgsFloat[edit]

Value: 5


MaxArgsInt[edit]

Value: 5


MaxArgsName[edit]

Value: 5


MaxArgsString[edit]

Value: 5


MaxArgsLabel[edit]

Value: 2


BUpperAscii[edit]

Value: 0x42

obligatory bool (0/1)

FUpperAscii[edit]

Value: 0x46

obligatory float

IUpperAscii[edit]

Value: 0x49

obligatory int

MUpperAscii[edit]

Value: 0x4D

obligatory name (added to name table if not in game)

NUpperAscii[edit]

Value: 0x4E

obligatory name (must already exist in game / name table)

SUpperAscii[edit]

Value: 0x53

obligatory string

TUpperAscii[edit]

Value: 0x54

obligatory target name (must be found in level?)

bLowerAscii[edit]

Value: 0x62

optional bool (0/1)

fLowerAscii[edit]

Value: 0x66

optional float

iLowerAscii[edit]

Value: 0x69

optional int

mLowerAscii[edit]

Value: 0x6D

optional name (added to name table if not in game)

nLowerAscii[edit]

Value: 0x6E

optional name (must already exist in game / name table)

sLowerAscii[edit]

Value: 0x73

optional string

tLowerAscii[edit]

Value: 0x74

optional target name (must be found in level if given?)

Sig_B[edit]

Value: "B"


Sig_F[edit]

Value: "F"


Sig_FFF[edit]

Value: "FFF"


Sig_I[edit]

Value: "I"


Sig_MB[edit]

Value: "MB"


Sig_M[edit]

Value: "M"


Sig_MM[edit]

Value: "MM"


Sig_N[edit]

Value: "N"


Sig_NB[edit]

Value: "NB"


Sig_NF[edit]

Value: "NF"


Sig_NFb[edit]

Value: "NFb"


Sig_NM[edit]

Value: "NM"


Sig_NS[edit]

Value: "NS"


Sig_S[edit]

Value: "S"


Sig_SI[edit]

Value: "SI"


Sig_SM[edit]

Value: "SM"


Sig_SSN[edit]

Value: "SSN"


Sig_SSS[edit]

Value: "SSS"


Sig_T[edit]

Value: "T"


Sig_TM[edit]

Value: "TM"


Sig_TNb[edit]

Value: "TNb"


Sig_TS[edit]

Value: "TS"


Sig_TSS[edit]

Value: "TSS"


SigO_bi[edit]

Value: "bi"


SigO_Bb[edit]

Value: "Bb"


SigO_f[edit]

Value: "f"


SigO_Fs[edit]

Value: "Fs"


SigO_Fss[edit]

Value: "Fss"


SigO_i[edit]

Value: "i"


SigO_Iffssi[edit]

Value: "Iffssi"


SigO_Mb[edit]

Value: "Mb"


SigO_IMfb[edit]

Value: "IMfb"


SigO_IMffb[edit]

Value: "IMffb"


SigO_Mfb[edit]

Value: "Mfb"


SigO_Mffb[edit]

Value: "Mffb"


SigO_MSs[edit]

Value: "MSs"


SigO_Mssbfss[edit]

Value: "Mssbfss"


SigO_Mt[edit]

Value: "Mt"


SigO_TMb[edit]

Value: "TMb"


SigO_ntfn[edit]

Value: "ntfn"


SigO_Nb[edit]

Value: "Nb"


SigO_NFss[edit]

Value: "NFss"


SigO_Nfb[edit]

Value: "Nfb"


SigO_Nn[edit]

Value: "Nn"


SigO_Nssb[edit]

Value: "Nssb"


SigO_s[edit]

Value: "s"


SigO_sffiiiss[edit]

Value: "sffiiiss"


SigO_sm[edit]

Value: "sm"


SigO_Sb[edit]

Value: "Sb"


SigO_Sbi[edit]

Value: "Sbi"


SigO_Si[edit]

Value: "Si"


SigO_SIb[edit]

Value: "SIb"


SigO_Ss[edit]

Value: "Ss"


SigO_t[edit]

Value: "t"


SigO_tib[edit]

Value: "tib"


SigO_Tfb[edit]

Value: "Tfb"


SigO_TFFFb[edit]

Value: "TFFFb"


SigO_TNss[edit]

Value: "TNss"


SigO_TSbss[edit]

Value: "TSbss"


SigO_TSf[edit]

Value: "TSf"


SigO_TSi[edit]

Value: "TSi"


SigO_TSnfbff[edit]

Value: "TSnfbff"


SigO_TSSss[edit]

Value: "TSSss"


Sig_XXX[edit]

Value: "X"

no args (parser will make sure nothing after command)

TextGotoLabel[edit]

Value: "gotolabel"

gotolabel command string literal

TextCall[edit]

Value: "call"

call command string literal

TextInterrupt[edit]

Value: "interrupt"

interrupt command string literal

DefaultPropertyString[edit]

Value: "default"


PlayerSpeakerString[edit]

Value: "player"

speaker string of the player

SelfSpeakerString[edit]

Value: "self"

used to impley npc is talking by himself

SpecialStateAgentInput[edit]

Value: 'SpecialState'

agent input that, when bound, locks the agent

TargetControllerName[edit]

Value: 'controller'

the controlled NPC's controller

TargetEventInstigatorName[edit]

Value: 'eventinstigator'

instigator for most recent event (if applicable)

TargetEventOtherName[edit]

Value: 'eventother'

other for most recent event (if applicable)

TargetFoundName[edit]

Value: 'found'

actor found in previous call to FindActor

TargetPawnName[edit]

Value: 'pawn'

the controlled NPC's pawn

TargetPlayerName[edit]

Value: 'player'

the player

TargetSelfName[edit]

Value: 'self'


MsgBadOrMissingArgument[edit]

Value: "bad or missing parameter"


MsgBadOrMissingLabel[edit]

Value: "bad or missing label"


MsgBadOrMissingLabelIndex[edit]

Value: "bad or missing label index"


MsgCallInterruptReturnError[edit]

Value: "mismatched call/return or interrupt/return error"

extra junk after last valid argument

MsgGotoLabelInterruptError[edit]

Value: "bad or missing gotolabel/interrupt"


MsgInternalErrorSignature[edit]

Value: "internal errors -- bad function signature"


MsgInvalidArgument[edit]

Value: "invalid argument"

extra junk after last valid argument

MsgInvalidArgumentExtra[edit]

Value: "invalid extra argument"

extra junk after last valid argument

MsgInvalidCommand[edit]

Value: "invalid command (u2s commands should be all lower-case)"


MsgInvalidCommandListIndex[edit]

Value: "invalid command list index"


MsgInvalidEventName[edit]

Value: "invalid event name"


MsgInvalidOrders[edit]

Value: "invalid orders (error setting NPC orders)"


MsgInvalidOrderGiver[edit]

Value: "invalid order giver"


MsgInvalidOrdersObject[edit]

Value: "invalid orders object"


MsgInvalidOrdersNotSupported[edit]

Value: "invalid orders (given orders not currently supported)"


MsgScriptInitError[edit]

Value: "error initializing commands!"


MsgScriptLoadError[edit]

Value: "error loading commands!"


MsgTargetFindError[edit]

Value: "can't find given target"


MsgTargetVerifyError[edit]

Value: "internal error - CommandTarget not set while executing commnand"


CommandsListIndex_Error[edit]

Value: -999


CommandsListIndex_Label[edit]

Value: 999


CommandsListIndex_Stop[edit]

Value: -1


ResumePatrolBest[edit]

Value: 'best'


ResumePatrolClosest[edit]

Value: 'closest'


ResumePatrolRandom[edit]

Value: 'random'


ResumePatrolSaved[edit]

Value: 'saved'