UE2:BehaviorControllerBasic (U2XMP)
Object >> BehaviorControllerInterf >> BehaviorControllerBasic |
- 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
CheckBehaviorTimerName
Value: 'CheckBehaviorTimer'
CheckFireShotTimerName
Value: 'CheckFireShotTimer'
CheckMetaStateTimerName
Value: 'CheckMetaStateTimer'
MaxRecursionCount
Value: 5
Properties
bCleaned
Type: bool
bEnabled
Type: bool
Default value: True
BlockedStateName
Type: name
bNPCSetFireShotDelay
Type: bool
GBehaviorList
Type: array<U2PawnBasic.BehaviorT>
LastAttackActiveCantReachIndex
Type: int
Default value: -1
LastAttackActiveEnemyNotVisibleIndex
Type: int
Default value: -1
LastAttackActiveIndex
Type: int
Default value: -1
LastAttackActiveMeleeHitIndex
Type: int
Default value: -1
LastAttackActiveMeleeIndex
Type: int
Default value: -1
LastAttackActiveUseCoverIndex
Type: int
Default value: -1
LastAttackPassiveCantReachIndex
Type: int
Default value: -1
LastAttackPassiveEnemyNotVisibleIndex
Type: int
Default value: -1
LastAttackPassiveIndex
Type: int
Default value: -1
LastAttackPassiveMeleeHitIndex
Type: int
Default value: -1
LastAttackPassiveMeleeIndex
Type: int
Default value: -1
LastAttackPassiveUseCoverIndex
Type: int
Default value: -1
LastSelectedBehaviorIndex
Type: int
Default value: -1
LastTimeSeconds
Type: float
Modifiers: private
MaxSetAmmoDelay
Type: float
Default value: 5.0
MetaState
Type: EMetaState
MinSetAmmoDelay
Type: float
Default value: 1.0
NextFireShotTimerAvailableTime
Type: float
NextSetAmmoTime
Type: float
PreviousMetaState
Type: EMetaState
RecursionCount
Type: int
Modifiers: private
TotalBehaviorOdds
Type: float
sum of odds for all supported behaviors
Enums
EMetaState
- 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
AddTimerSafe
BehaviorEnabled
BlockFiring
Overrides: BehaviorControllerInterf.BlockFiring
CheckBehavior
CheckBehaviorTimer
CheckEnemySituation
CheckFireShot
CheckFireShotTimer
CheckMetaState
CheckMetaStateTimer
CleanupBC
Overrides: BehaviorControllerInterf.CleanupBC
DisableAllBehaviorsExcept
Overrides: BehaviorControllerInterf.DisableAllBehaviorsExcept
DisableBehavior
Overrides: BehaviorControllerInterf.DisableBehavior
DisableBehaviorInAllLists
DisableBehaviorInList
DisableBehaviorTemporarily
DisableBehaviorTemporarilyInList
DumpGList
DumpList
EnableBehavior
Overrides: BehaviorControllerInterf.EnableBehavior
EvaluateAttackSituation
GetBCEnabled
Overrides: BehaviorControllerInterf.GetBCEnabled
GetBehaviorOdds
GetCheckBehaviorDelay
Overrides: BehaviorControllerInterf.GetCheckBehaviorDelay
GetCheckMetaStateDelay
Overrides: BehaviorControllerInterf.GetCheckMetaStateDelay
GetCurrentMetaStateName
Overrides: BehaviorControllerInterf.GetCurrentMetaStateName
GetCurrentMetaStateNameShort
Overrides: BehaviorControllerInterf.GetCurrentMetaStateNameShort
GetExtendedStateInformation
Overrides: BehaviorControllerInterf.GetExtendedStateInformation
GetMinFiringDelay
Overrides: BehaviorControllerInterf.GetMinFiringDelay
GetNumEnabledBehaviors
GetSelectedBehavior
GetTimeOutDelays
Overrides: BehaviorControllerInterf.GetTimeOutDelays
IsFiringMetaState
RestoreTimeOutDelays
Overrides: BehaviorControllerInterf.RestoreTimeOutDelays
SetBCEnabled
Overrides: BehaviorControllerInterf.SetBCEnabled
SetCheckFireShotTimer
SetLowOddsTimeInAllLists
SetLowOddsTimeInList
SetMinTimeOutDelay
Overrides: BehaviorControllerInterf.SetMinTimeOutDelay
SetNextCheckFireShotDelay
Overrides: BehaviorControllerInterf.SetNextCheckFireShotDelay
ShouldMeleeAttack
StartFiring
Overrides: BehaviorControllerInterf.StartFiring
Update
Overrides: BehaviorControllerInterf.Update
UpdateAttackActive
UpdateAttackCantReach
UpdateAttackEnemyNotVisible
UpdateAttackMelee
UpdateAttackMeleeHit
UpdateAttackUseCover
UpdateMetaState