My program doesn't have bugs. It just develops random features.
UE2:BehaviorControllerBasic (U2XMP)
Object >> BehaviorControllerInterf >> BehaviorControllerBasic |
Contents
- 1 Constants
- 2 Properties
- 2.1 bCleaned
- 2.2 bEnabled
- 2.3 BlockedStateName
- 2.4 bNPCSetFireShotDelay
- 2.5 GBehaviorList
- 2.6 LastAttackActiveCantReachIndex
- 2.7 LastAttackActiveEnemyNotVisibleIndex
- 2.8 LastAttackActiveIndex
- 2.9 LastAttackActiveMeleeHitIndex
- 2.10 LastAttackActiveMeleeIndex
- 2.11 LastAttackActiveUseCoverIndex
- 2.12 LastAttackPassiveCantReachIndex
- 2.13 LastAttackPassiveEnemyNotVisibleIndex
- 2.14 LastAttackPassiveIndex
- 2.15 LastAttackPassiveMeleeHitIndex
- 2.16 LastAttackPassiveMeleeIndex
- 2.17 LastAttackPassiveUseCoverIndex
- 2.18 LastSelectedBehaviorIndex
- 2.19 LastTimeSeconds
- 2.20 MaxSetAmmoDelay
- 2.21 MetaState
- 2.22 MinSetAmmoDelay
- 2.23 NextFireShotTimerAvailableTime
- 2.24 NextSetAmmoTime
- 2.25 PreviousMetaState
- 2.26 RecursionCount
- 2.27 TotalBehaviorOdds
- 3 Enums
- 4 Instance functions
- 4.1 AddTimerSafe
- 4.2 BehaviorEnabled
- 4.3 BlockFiring
- 4.4 CheckBehavior
- 4.5 CheckBehaviorTimer
- 4.6 CheckEnemySituation
- 4.7 CheckFireShot
- 4.8 CheckFireShotTimer
- 4.9 CheckMetaState
- 4.10 CheckMetaStateTimer
- 4.11 CleanupBC
- 4.12 DisableAllBehaviorsExcept
- 4.13 DisableBehavior
- 4.14 DisableBehaviorInAllLists
- 4.15 DisableBehaviorInList
- 4.16 DisableBehaviorTemporarily
- 4.17 DisableBehaviorTemporarilyInList
- 4.18 DumpGList
- 4.19 DumpList
- 4.20 EnableBehavior
- 4.21 EvaluateAttackSituation
- 4.22 GetBCEnabled
- 4.23 GetBehaviorOdds
- 4.24 GetCheckBehaviorDelay
- 4.25 GetCheckMetaStateDelay
- 4.26 GetCurrentMetaStateName
- 4.27 GetCurrentMetaStateNameShort
- 4.28 GetExtendedStateInformation
- 4.29 GetMinFiringDelay
- 4.30 GetNumEnabledBehaviors
- 4.31 GetSelectedBehavior
- 4.32 GetTimeOutDelays
- 4.33 IsFiringMetaState
- 4.34 RestoreTimeOutDelays
- 4.35 SetBCEnabled
- 4.36 SetCheckFireShotTimer
- 4.37 SetLowOddsTimeInAllLists
- 4.38 SetLowOddsTimeInList
- 4.39 SetMinTimeOutDelay
- 4.40 SetNextCheckFireShotDelay
- 4.41 ShouldMeleeAttack
- 4.42 StartFiring
- 4.43 Update
- 4.44 UpdateAttackActive
- 4.45 UpdateAttackCantReach
- 4.46 UpdateAttackEnemyNotVisible
- 4.47 UpdateAttackMelee
- 4.48 UpdateAttackMeleeHit
- 4.49 UpdateAttackUseCover
- 4.50 UpdateMetaState
- Package:
- U2AI
- Within class:
- U2NPCControllerBasic
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. |
BehaviorControllerBasic.uc Created By: Mike Fox Created On: 01/22/02 $Author: Mfox $ $Date: 12/18/02 4:48p $ $Revision: 34 $
Constants[edit]
CheckBehaviorTimerName[edit]
Value: 'CheckBehaviorTimer'
CheckFireShotTimerName[edit]
Value: 'CheckFireShotTimer'
CheckMetaStateTimerName[edit]
Value: 'CheckMetaStateTimer'
MaxRecursionCount[edit]
Value: 5
Properties[edit]
bCleaned[edit]
Type: bool
bEnabled[edit]
Type: bool
Default value: True
BlockedStateName[edit]
Type: name
bNPCSetFireShotDelay[edit]
Type: bool
GBehaviorList[edit]
Type: array<U2PawnBasic.BehaviorT>
LastAttackActiveCantReachIndex[edit]
Type: int
Default value: -1
LastAttackActiveEnemyNotVisibleIndex[edit]
Type: int
Default value: -1
LastAttackActiveIndex[edit]
Type: int
Default value: -1
LastAttackActiveMeleeHitIndex[edit]
Type: int
Default value: -1
LastAttackActiveMeleeIndex[edit]
Type: int
Default value: -1
LastAttackActiveUseCoverIndex[edit]
Type: int
Default value: -1
LastAttackPassiveCantReachIndex[edit]
Type: int
Default value: -1
LastAttackPassiveEnemyNotVisibleIndex[edit]
Type: int
Default value: -1
LastAttackPassiveIndex[edit]
Type: int
Default value: -1
LastAttackPassiveMeleeHitIndex[edit]
Type: int
Default value: -1
LastAttackPassiveMeleeIndex[edit]
Type: int
Default value: -1
LastAttackPassiveUseCoverIndex[edit]
Type: int
Default value: -1
LastSelectedBehaviorIndex[edit]
Type: int
Default value: -1
LastTimeSeconds[edit]
Type: float
Modifiers: private
MaxSetAmmoDelay[edit]
Type: float
Default value: 5.0
MetaState[edit]
Type: EMetaState
MinSetAmmoDelay[edit]
Type: float
Default value: 1.0
NextFireShotTimerAvailableTime[edit]
Type: float
NextSetAmmoTime[edit]
Type: float
PreviousMetaState[edit]
Type: EMetaState
RecursionCount[edit]
Type: int
Modifiers: private
TotalBehaviorOdds[edit]
Type: float
sum of odds for all supported behaviors
Enums[edit]
EMetaState[edit]
- MS_AttackInactive
- MS_AttackActive
- enemy set and visible, reachable
- MS_AttackActiveCantReach
- enemy set and visible but not reachable
- MS_AttackActiveEnemyNotVisible
- enemy set but not visible
- MS_AttackActiveMelee
- melee attacking enemy (timed meta state)
- MS_AttackActiveMeleeHit
- melee attacking enemy (timed meta state) after hitting enemy
- MS_AttackActiveUseCover
- MS_AttackPassive
- enemy set and visible, reachable
- MS_AttackPassiveCantReach
- enemy set and visible but not reachable
- MS_AttackPassiveEnemyNotVisible
- enemy set but not visible
- MS_AttackPassiveMelee
- melee attacking enemy (timed meta state)
- MS_AttackPassiveMeleeHit
- melee attacking enemy (timed meta state)
- MS_AttackPassiveUseCover
- using cover (timed meta state)
Instance functions[edit]
AddTimerSafe[edit]
BehaviorEnabled[edit]
BlockFiring[edit]
Overrides: BehaviorControllerInterf.BlockFiring
CheckBehavior[edit]
CheckBehaviorTimer[edit]
CheckEnemySituation[edit]
CheckFireShot[edit]
CheckFireShotTimer[edit]
CheckMetaState[edit]
CheckMetaStateTimer[edit]
CleanupBC[edit]
Overrides: BehaviorControllerInterf.CleanupBC
DisableAllBehaviorsExcept[edit]
Overrides: BehaviorControllerInterf.DisableAllBehaviorsExcept
DisableBehavior[edit]
Overrides: BehaviorControllerInterf.DisableBehavior
DisableBehaviorInAllLists[edit]
DisableBehaviorInList[edit]
DisableBehaviorTemporarily[edit]
DisableBehaviorTemporarilyInList[edit]
DumpGList[edit]
DumpList[edit]
EnableBehavior[edit]
Overrides: BehaviorControllerInterf.EnableBehavior
EvaluateAttackSituation[edit]
GetBCEnabled[edit]
Overrides: BehaviorControllerInterf.GetBCEnabled
GetBehaviorOdds[edit]
GetCheckBehaviorDelay[edit]
Overrides: BehaviorControllerInterf.GetCheckBehaviorDelay
GetCheckMetaStateDelay[edit]
Overrides: BehaviorControllerInterf.GetCheckMetaStateDelay
GetCurrentMetaStateName[edit]
Overrides: BehaviorControllerInterf.GetCurrentMetaStateName
GetCurrentMetaStateNameShort[edit]
Overrides: BehaviorControllerInterf.GetCurrentMetaStateNameShort
GetExtendedStateInformation[edit]
Overrides: BehaviorControllerInterf.GetExtendedStateInformation
GetMinFiringDelay[edit]
Overrides: BehaviorControllerInterf.GetMinFiringDelay
GetNumEnabledBehaviors[edit]
GetSelectedBehavior[edit]
GetTimeOutDelays[edit]
Overrides: BehaviorControllerInterf.GetTimeOutDelays
IsFiringMetaState[edit]
RestoreTimeOutDelays[edit]
Overrides: BehaviorControllerInterf.RestoreTimeOutDelays
SetBCEnabled[edit]
Overrides: BehaviorControllerInterf.SetBCEnabled
SetCheckFireShotTimer[edit]
SetLowOddsTimeInAllLists[edit]
SetLowOddsTimeInList[edit]
SetMinTimeOutDelay[edit]
Overrides: BehaviorControllerInterf.SetMinTimeOutDelay
SetNextCheckFireShotDelay[edit]
Overrides: BehaviorControllerInterf.SetNextCheckFireShotDelay
ShouldMeleeAttack[edit]
StartFiring[edit]
Overrides: BehaviorControllerInterf.StartFiring
Update[edit]
Overrides: BehaviorControllerInterf.Update