I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX
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
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