There is no spoon
UE2:ScriptControllerBase constants (U2XMP)
Object >> ScriptControllerInterf >> ScriptControllerBase (constants) |
Contents
- 1 Constants
- 1.1 MaxCommandInfoEntries
- 1.2 MaxEvents
- 1.3 MaxTriggerEvents
- 1.4 MaxPushedCommandIndices
- 1.5 MaxPatrolSize
- 1.6 MaxTimers
- 1.7 MaxTriggerTimers
- 1.8 MaxGeneralTimers
- 1.9 Debug_None
- 1.10 Debug_Info
- 1.11 Debug_Commands
- 1.12 Debug_Events
- 1.13 Debug_Jumps
- 1.14 DefaultExt
- 1.15 BroadcastErrorState
- 1.16 ChangingStanceState
- 1.17 DetachingState
- 1.18 ExecuteCommandsState
- 1.19 FiringState
- 1.20 SleepingState
- 1.21 WaitActorInRangeState
- 1.22 WaitActorOutOfRangeState
- 1.23 WaitAnimEndState
- 1.24 WaitBumpEnemyState
- 1.25 WaitBumpFriendState
- 1.26 WaitBumpOtherState
- 1.27 WaitBumpPlayerState
- 1.28 WaitDestinationReachedState
- 1.29 WaitDialogBeginState
- 1.30 WaitDialogPausedState
- 1.31 WaitDialogFarPausedState
- 1.32 WaitDiedState
- 1.33 WaitFinishedRotationState
- 1.34 WaitHearNoiseFriendlyState
- 1.35 WaitHearNoiseOtherState
- 1.36 WaitHearNoiseThreatState
- 1.37 WaitScriptedLandingState
- 1.38 WaitSeeEnemyState
- 1.39 WaitSeeFriendState
- 1.40 WaitSeeOtherState
- 1.41 WaitSeePlayerState
- 1.42 WaitTakeDamageState
- 1.43 WaitTookDamageState
- 1.44 WaitTookDamageEnemyState
- 1.45 WaitTookDamageFriendState
- 1.46 WaitTriggerState
- 1.47 ActorInRangeEvent
- 1.48 ActorOutOfRangeEvent
- 1.49 AnimEndEvent
- 1.50 AutoBeginEvent
- 1.51 AutoEndEvent
- 1.52 BumpEnemyEvent
- 1.53 BumpFriendEvent
- 1.54 BumpOtherEvent
- 1.55 BumpPlayerEvent
- 1.56 DestinationReachedEvent
- 1.57 DialogBeginEvent
- 1.58 DialogUnPauseEvent
- 1.59 DiedEvent
- 1.60 EnemyNotVisibleEvent
- 1.61 HearNoiseFriendlyEvent
- 1.62 HearNoiseOtherEvent
- 1.63 HearNoiseThreatEvent
- 1.64 InheritEnemyEvent
- 1.65 ScriptedLandingEvent
- 1.66 SeeAlertFriendEvent
- 1.67 SeeEnemyEvent
- 1.68 SeeFriendEvent
- 1.69 SeeOtherEvent
- 1.70 SeePlayerEvent
- 1.71 TakeDamageEvent
- 1.72 TookDamageEvent
- 1.73 TookDamageEnemyEvent
- 1.74 TookDamageFriendEvent
- 1.75 TriggerEvent
- 1.76 BroadcastErrorMessageTimerName
- 1.77 ResumeProcessingTimerName
- 1.78 StanceChangeDoneTimerName
- 1.79 StopFiringTimerName
- 1.80 StopFiringBackupTimerName
- 1.81 MaxArgsByte
- 1.82 MaxArgsFloat
- 1.83 MaxArgsInt
- 1.84 MaxArgsName
- 1.85 MaxArgsString
- 1.86 MaxArgsLabel
- 1.87 BUpperAscii
- 1.88 FUpperAscii
- 1.89 IUpperAscii
- 1.90 MUpperAscii
- 1.91 NUpperAscii
- 1.92 SUpperAscii
- 1.93 TUpperAscii
- 1.94 bLowerAscii
- 1.95 fLowerAscii
- 1.96 iLowerAscii
- 1.97 mLowerAscii
- 1.98 nLowerAscii
- 1.99 sLowerAscii
- 1.100 tLowerAscii
- 1.101 Sig_B
- 1.102 Sig_F
- 1.103 Sig_FFF
- 1.104 Sig_I
- 1.105 Sig_MB
- 1.106 Sig_M
- 1.107 Sig_MM
- 1.108 Sig_N
- 1.109 Sig_NB
- 1.110 Sig_NF
- 1.111 Sig_NFb
- 1.112 Sig_NM
- 1.113 Sig_NS
- 1.114 Sig_S
- 1.115 Sig_SI
- 1.116 Sig_SM
- 1.117 Sig_SSN
- 1.118 Sig_SSS
- 1.119 Sig_T
- 1.120 Sig_TM
- 1.121 Sig_TNb
- 1.122 Sig_TS
- 1.123 Sig_TSS
- 1.124 SigO_bi
- 1.125 SigO_Bb
- 1.126 SigO_f
- 1.127 SigO_Fs
- 1.128 SigO_Fss
- 1.129 SigO_i
- 1.130 SigO_Iffssi
- 1.131 SigO_Mb
- 1.132 SigO_IMfb
- 1.133 SigO_IMffb
- 1.134 SigO_Mfb
- 1.135 SigO_Mffb
- 1.136 SigO_MSs
- 1.137 SigO_Mssbfss
- 1.138 SigO_Mt
- 1.139 SigO_TMb
- 1.140 SigO_ntfn
- 1.141 SigO_Nb
- 1.142 SigO_NFss
- 1.143 SigO_Nfb
- 1.144 SigO_Nn
- 1.145 SigO_Nssb
- 1.146 SigO_s
- 1.147 SigO_sffiiiss
- 1.148 SigO_sm
- 1.149 SigO_Sb
- 1.150 SigO_Sbi
- 1.151 SigO_Si
- 1.152 SigO_SIb
- 1.153 SigO_Ss
- 1.154 SigO_t
- 1.155 SigO_tib
- 1.156 SigO_Tfb
- 1.157 SigO_TFFFb
- 1.158 SigO_TNss
- 1.159 SigO_TSbss
- 1.160 SigO_TSf
- 1.161 SigO_TSi
- 1.162 SigO_TSnfbff
- 1.163 SigO_TSSss
- 1.164 Sig_XXX
- 1.165 TextGotoLabel
- 1.166 TextCall
- 1.167 TextInterrupt
- 1.168 DefaultPropertyString
- 1.169 PlayerSpeakerString
- 1.170 SelfSpeakerString
- 1.171 SpecialStateAgentInput
- 1.172 TargetControllerName
- 1.173 TargetEventInstigatorName
- 1.174 TargetEventOtherName
- 1.175 TargetFoundName
- 1.176 TargetPawnName
- 1.177 TargetPlayerName
- 1.178 TargetSelfName
- 1.179 MsgBadOrMissingArgument
- 1.180 MsgBadOrMissingLabel
- 1.181 MsgBadOrMissingLabelIndex
- 1.182 MsgCallInterruptReturnError
- 1.183 MsgGotoLabelInterruptError
- 1.184 MsgInternalErrorSignature
- 1.185 MsgInvalidArgument
- 1.186 MsgInvalidArgumentExtra
- 1.187 MsgInvalidCommand
- 1.188 MsgInvalidCommandListIndex
- 1.189 MsgInvalidEventName
- 1.190 MsgInvalidOrders
- 1.191 MsgInvalidOrderGiver
- 1.192 MsgInvalidOrdersObject
- 1.193 MsgInvalidOrdersNotSupported
- 1.194 MsgScriptInitError
- 1.195 MsgScriptLoadError
- 1.196 MsgTargetFindError
- 1.197 MsgTargetVerifyError
- 1.198 CommandsListIndex_Error
- 1.199 CommandsListIndex_Label
- 1.200 CommandsListIndex_Stop
- 1.201 ResumePatrolBest
- 1.202 ResumePatrolClosest
- 1.203 ResumePatrolRandom
- 1.204 ResumePatrolSaved
;Other member categories for this class::enums, instance functions, internal variables, states
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Constants
MaxCommandInfoEntries
Value: 128
size of commands list
MaxEvents
Value: 32
max number of events in event info list
MaxTriggerEvents
Value: 32
max number of tracked triggers
MaxPushedCommandIndices
Value: 32
maximum call/interrupt depth
MaxPatrolSize
Value: 128
max length of patrol that can be used with resumepatrol
MaxTimers
Value: 10
max number of timers (ontimer and ontrigger timers)
MaxTriggerTimers
Value: 5
max number of trigger timers (uses bottom of Timers list)
MaxGeneralTimers
Value: 5
Debug_None
Value: 0x0000
don't show any debug info
Debug_Info
Value: 0x0001
show internal debug info
Debug_Commands
Value: 0x0002
dump commands and log executed commands
Debug_Events
Value: 0x0004
dump events as they are received
Debug_Jumps
Value: 0x0008
log control flow changes (gotos, calls, onevents etc.)
DefaultExt
Value: ".u2s"
BroadcastErrorState
Value: 'BroadcastError'
ChangingStanceState
Value: 'ChangingStance'
DetachingState
Value: 'Detaching'
ExecuteCommandsState
Value: 'ExecuteCommands'
FiringState
Value: 'Firing'
SleepingState
Value: 'Sleeping'
WaitActorInRangeState
Value: 'WaitActorInRange'
WaitActorOutOfRangeState
Value: 'WaitActorOutOfRange'
WaitAnimEndState
Value: 'WaitAnimEnd'
only really needed for waiting for end of scripted animations
WaitBumpEnemyState
Value: 'WaitBumpEnemy'
WaitBumpFriendState
Value: 'WaitBumpFriend'
WaitBumpOtherState
Value: 'WaitBumpOther'
WaitBumpPlayerState
Value: 'WaitBumpPlayer'
WaitDestinationReachedState
Value: 'WaitDestinationReached'
WaitDialogBeginState
Value: 'WaitDialogBegin'
WaitDialogPausedState
Value: 'WaitDialogPaused'
WaitDialogFarPausedState
Value: 'WaitDialogFarPaused'
WaitDiedState
Value: 'WaitDied'
WaitFinishedRotationState
Value: 'WaitFinishedRotation'
WaitHearNoiseFriendlyState
Value: 'WaitHearNoiseFriendly'
WaitHearNoiseOtherState
Value: 'WaitHearNoiseOther'
WaitHearNoiseThreatState
Value: 'WaitHearNoiseThreat'
WaitScriptedLandingState
Value: 'WaitScriptedLanding'
WaitSeeEnemyState
Value: 'WaitSeeEnemy'
WaitSeeFriendState
Value: 'WaitSeeFriend'
WaitSeeOtherState
Value: 'WaitSeeOther'
WaitSeePlayerState
Value: 'WaitSeePlayer'
WaitTakeDamageState
Value: 'WaitTakeDamage'
WaitTookDamageState
Value: 'WaitTookDamage'
WaitTookDamageEnemyState
Value: 'WaitTookDamageEnemy'
WaitTookDamageFriendState
Value: 'WaitTookDamageFriend'
WaitTriggerState
Value: 'WaitTrigger'
ActorInRangeEvent
Value: 'ActorInRange'
generated when the InRangeActor comes within the InRangeDistance
ActorOutOfRangeEvent
Value: 'ActorOutOfRange'
generated once when the InRangeActor comes goes out of the InRangeDistance
AnimEndEvent
Value: 'AnimEnd'
goes to Controller unless Pawn has no Controller (dying state)
AutoBeginEvent
Value: 'AutoBegin'
goes to Controller, generated by U2NPCControllerScriptable
AutoEndEvent
Value: 'AutoEnd'
goes to Controller, generated by Controller
BumpEnemyEvent
Value: 'BumpEnemy'
NotifyBump --> Controller --> BumpEnemy/Friend/Other
BumpFriendEvent
Value: 'BumpFriend'
NotifyBump --> Controller --> BumpEnemy/Friend/Other
BumpOtherEvent
Value: 'BumpOther'
NotifyBump --> Controller --> BumpEnemy/Friend/Other
BumpPlayerEvent
Value: 'BumpPlayer'
not an actual event: eventwait BumpPlayer --> BumpEnemy/BumpFriend checked for player
DestinationReachedEvent
Value: 'DestinationReached'
goes to Controller
DialogBeginEvent
Value: 'DialogBegin'
generated by Controller before destroyed
DialogUnPauseEvent
Value: 'DialogUnPause'
generated when dialog unpauses npc's script
DiedEvent
Value: 'Died'
generated by Controller before destroyed
EnemyNotVisibleEvent
Value: 'EnemyNotVisible'
goes to Controller
HearNoiseFriendlyEvent
Value: 'HearNoiseFriendly'
HearNoise --> Controller --> HearNoiseFriendly
HearNoiseOtherEvent
Value: 'HearNoiseOther'
HearNoise --> Controller --> HearNoiseOther
HearNoiseThreatEvent
Value: 'HearNoiseThreat'
HearNoise --> Controller --> HearNoiseThreat
InheritEnemyEvent
Value: 'InheritEnemy'
generated when NPC could inherit another NPC's Enemy
ScriptedLandingEvent
Value: 'ScriptedLanding'
generated when NPC in scripted state lands (not passed back to NPC)
SeeAlertFriendEvent
Value: 'SeeAlertFriend'
SeeAlertFriend --> Controller
SeeEnemyEvent
Value: 'SeeEnemy'
SeeEnemy --> Controller
SeeFriendEvent
Value: 'SeeFriend'
SeeFriend --> Controller --> SeeFriend
SeeOtherEvent
Value: 'SeeOther'
SeeOther --> Controller --> SeeOther
SeePlayerEvent
Value: 'SeePlayer'
not an actual event: eventwait SeePlayer --> SeeEnemy/SeeFriend checked for player
TakeDamageEvent
Value: 'TakeDamage'
goes to Pawn
TookDamageEvent
Value: 'TookDamage'
eventTakeDamage --> TookDamage generated by U2NPCControllerScriptable
TookDamageEnemyEvent
Value: 'TookDamageEnemy'
generated internall from TookDamage for use by scripts only
TookDamageFriendEvent
Value: 'TookDamageFriend'
generated internall from TookDamage for use by scripts only
TriggerEvent
Value: 'Trigger'
BroadcastErrorMessageTimerName
Value: 'BroadcastErrorMessage'
ResumeProcessingTimerName
Value: 'ResumeProcessing'
StanceChangeDoneTimerName
Value: 'StanceChangeDone'
StopFiringTimerName
Value: 'StopFiring'
StopFiringBackupTimerName
Value: 'StopFiringBackup'
MaxArgsByte
Value: 5
MaxArgsFloat
Value: 5
MaxArgsInt
Value: 5
MaxArgsName
Value: 5
MaxArgsString
Value: 5
MaxArgsLabel
Value: 2
BUpperAscii
Value: 0x42
obligatory bool (0/1)
FUpperAscii
Value: 0x46
obligatory float
IUpperAscii
Value: 0x49
obligatory int
MUpperAscii
Value: 0x4D
obligatory name (added to name table if not in game)
NUpperAscii
Value: 0x4E
obligatory name (must already exist in game / name table)
SUpperAscii
Value: 0x53
obligatory string
TUpperAscii
Value: 0x54
obligatory target name (must be found in level?)
bLowerAscii
Value: 0x62
optional bool (0/1)
fLowerAscii
Value: 0x66
optional float
iLowerAscii
Value: 0x69
optional int
mLowerAscii
Value: 0x6D
optional name (added to name table if not in game)
nLowerAscii
Value: 0x6E
optional name (must already exist in game / name table)
sLowerAscii
Value: 0x73
optional string
tLowerAscii
Value: 0x74
optional target name (must be found in level if given?)
Sig_B
Value: "B"
Sig_F
Value: "F"
Sig_FFF
Value: "FFF"
Sig_I
Value: "I"
Sig_MB
Value: "MB"
Sig_M
Value: "M"
Sig_MM
Value: "MM"
Sig_N
Value: "N"
Sig_NB
Value: "NB"
Sig_NF
Value: "NF"
Sig_NFb
Value: "NFb"
Sig_NM
Value: "NM"
Sig_NS
Value: "NS"
Sig_S
Value: "S"
Sig_SI
Value: "SI"
Sig_SM
Value: "SM"
Sig_SSN
Value: "SSN"
Sig_SSS
Value: "SSS"
Sig_T
Value: "T"
Sig_TM
Value: "TM"
Sig_TNb
Value: "TNb"
Sig_TS
Value: "TS"
Sig_TSS
Value: "TSS"
SigO_bi
Value: "bi"
SigO_Bb
Value: "Bb"
SigO_f
Value: "f"
SigO_Fs
Value: "Fs"
SigO_Fss
Value: "Fss"
SigO_i
Value: "i"
SigO_Iffssi
Value: "Iffssi"
SigO_Mb
Value: "Mb"
SigO_IMfb
Value: "IMfb"
SigO_IMffb
Value: "IMffb"
SigO_Mfb
Value: "Mfb"
SigO_Mffb
Value: "Mffb"
SigO_MSs
Value: "MSs"
SigO_Mssbfss
Value: "Mssbfss"
SigO_Mt
Value: "Mt"
SigO_TMb
Value: "TMb"
SigO_ntfn
Value: "ntfn"
SigO_Nb
Value: "Nb"
SigO_NFss
Value: "NFss"
SigO_Nfb
Value: "Nfb"
SigO_Nn
Value: "Nn"
SigO_Nssb
Value: "Nssb"
SigO_s
Value: "s"
SigO_sffiiiss
Value: "sffiiiss"
SigO_sm
Value: "sm"
SigO_Sb
Value: "Sb"
SigO_Sbi
Value: "Sbi"
SigO_Si
Value: "Si"
SigO_SIb
Value: "SIb"
SigO_Ss
Value: "Ss"
SigO_t
Value: "t"
SigO_tib
Value: "tib"
SigO_Tfb
Value: "Tfb"
SigO_TFFFb
Value: "TFFFb"
SigO_TNss
Value: "TNss"
SigO_TSbss
Value: "TSbss"
SigO_TSf
Value: "TSf"
SigO_TSi
Value: "TSi"
SigO_TSnfbff
Value: "TSnfbff"
SigO_TSSss
Value: "TSSss"
Sig_XXX
Value: "X"
no args (parser will make sure nothing after command)
TextGotoLabel
Value: "gotolabel"
gotolabel command string literal
TextCall
Value: "call"
call command string literal
TextInterrupt
Value: "interrupt"
interrupt command string literal
DefaultPropertyString
Value: "default"
PlayerSpeakerString
Value: "player"
speaker string of the player
SelfSpeakerString
Value: "self"
used to impley npc is talking by himself
SpecialStateAgentInput
Value: 'SpecialState'
agent input that, when bound, locks the agent
TargetControllerName
Value: 'controller'
the controlled NPC's controller
TargetEventInstigatorName
Value: 'eventinstigator'
instigator for most recent event (if applicable)
TargetEventOtherName
Value: 'eventother'
other for most recent event (if applicable)
TargetFoundName
Value: 'found'
actor found in previous call to FindActor
TargetPawnName
Value: 'pawn'
the controlled NPC's pawn
TargetPlayerName
Value: 'player'
the player
TargetSelfName
Value: 'self'
MsgBadOrMissingArgument
Value: "bad or missing parameter"
MsgBadOrMissingLabel
Value: "bad or missing label"
MsgBadOrMissingLabelIndex
Value: "bad or missing label index"
MsgCallInterruptReturnError
Value: "mismatched call/return or interrupt/return error"
extra junk after last valid argument
MsgGotoLabelInterruptError
Value: "bad or missing gotolabel/interrupt"
MsgInternalErrorSignature
Value: "internal errors -- bad function signature"
MsgInvalidArgument
Value: "invalid argument"
extra junk after last valid argument
MsgInvalidArgumentExtra
Value: "invalid extra argument"
extra junk after last valid argument
MsgInvalidCommand
Value: "invalid command (u2s commands should be all lower-case)"
MsgInvalidCommandListIndex
Value: "invalid command list index"
MsgInvalidEventName
Value: "invalid event name"
MsgInvalidOrders
Value: "invalid orders (error setting NPC orders)"
MsgInvalidOrderGiver
Value: "invalid order giver"
MsgInvalidOrdersObject
Value: "invalid orders object"
MsgInvalidOrdersNotSupported
Value: "invalid orders (given orders not currently supported)"
MsgScriptInitError
Value: "error initializing commands!"
MsgScriptLoadError
Value: "error loading commands!"
MsgTargetFindError
Value: "can't find given target"
MsgTargetVerifyError
Value: "internal error - CommandTarget not set while executing commnand"
CommandsListIndex_Error
Value: -999
CommandsListIndex_Label
Value: 999
CommandsListIndex_Stop
Value: -1
ResumePatrolBest
Value: 'best'
ResumePatrolClosest
Value: 'closest'
ResumePatrolRandom
Value: 'random'
ResumePatrolSaved
Value: 'saved'