Always snap to grid
UE2:BehaviorControllerInterf (U2XMP)
From Unreal Wiki, The Unreal Engine Documentation Site
Object >> BehaviorControllerInterf |
Contents
- 1 Enums
- 2 Instance functions
- 2.1 BlockFiring
- 2.2 CleanupBC
- 2.3 DisableAllBehaviorsExcept
- 2.4 DisableBehavior
- 2.5 EnableBehavior
- 2.6 GetBCEnabled
- 2.7 GetCheckBehaviorDelay
- 2.8 GetCheckMetaStateDelay
- 2.9 GetCurrentMetaStateName
- 2.10 GetCurrentMetaStateNameShort
- 2.11 GetExtendedStateInformation
- 2.12 GetMinFiringDelay
- 2.13 GetTimeOutDelays
- 2.14 RestoreTimeOutDelays
- 2.15 SetBCEnabled
- 2.16 SetMinTimeOutDelay
- 2.17 SetNextCheckFireShotDelay
- 2.18 StartFiring
- 2.19 Update
- Package:
- U2AI
- Within class:
- U2NPCControllerBasic
- Direct subclass:
- BehaviorControllerBasic
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. |
BehaviorControllerInterf.uc Created By: Mike Fox Created On: 01/22/02 $Author: Mfox $ $Date: 12/16/02 10:31p $ $Revision: 17 $
Enums
EBCType
- BC_AttackUpdate
- generic "reevaluate the current situation" with valid enemy
- BC_AttackCantFire
- can't fire in current state (e.g. disabled, odds)
- BC_BehaviorTimeOut
- time limit for current behavior is up
- BC_CoverNotFound
- tried to find cover and failed
- BC_CoverNotNeeded
- cover not needed -- current enemy isn't aggressive
- BC_CoverReachedCover
- reached a safe spot
- BC_EnemyAcquired
- became aware of an enemy for the first time (use acquisition state?)
- BC_EnemyCantReach
- can't get to enemy (pathing issue or enemy in water and I can't swim etc.)
- BC_EnemyChanged
- changed enemy to a different one (e.g. bigger threat)
- BC_EnemyInvalid
- current enemy is no longer valid (e.g. killed, gave up trying to find)
- BC_EnemyNotVisible
- lost LOS to current enemy
- BC_EnemyRecovered
- BC_MeleeRange
- check if should melee attack
- BC_MeleeRangeLost
- enemy moved out of melee range (while NPC in attackmelee state)
- BC_MeleeRangeLostHit
- enemy moved out of melee range (while NPC in attackmelee state) during successful melee attack (enemy was hit)
- BC_MeleeUpdate
- maybe change melee behavior
- BC_MeleeUpdateHit
- maybe change melee behavior during successful melee attack (enemy was hit)
- BC_MetaStateTimeOut
- time limit for current is up (only applies to some meta states)
- BC_StakeOutEnd
- abandoning stakeout (giving up)
- BC_TargetInvalid
- special target became invalid?
- BC_TookDamage
- took damage
- BC_UpdateInactive
- BC_CoverEnemyNotVisible
- enemy went out of LOS
- BC_CoverLeavingCover
- leaving cover
- BC_CoverRecoveredEnemy
- enemy recovered after moving out from cover spot (or enemy found NPC)?
- BC_CoverTimeOut
- cover state timed out -- select next state
Instance functions
BlockFiring
function BlockFiring (float SuggestedFireAgainDelay)
CleanupBC
function CleanupBC ()
DisableAllBehaviorsExcept
function DisableAllBehaviorsExcept (name TargetState)
DisableBehavior
function DisableBehavior (name TargetState)
EnableBehavior
function EnableBehavior (name TargetState)
GetBCEnabled
function bool GetBCEnabled ()
GetCheckBehaviorDelay
function float GetCheckBehaviorDelay ()
GetCheckMetaStateDelay
function float GetCheckMetaStateDelay ()
GetCurrentMetaStateName
function string GetCurrentMetaStateName ()
GetCurrentMetaStateNameShort
function string GetCurrentMetaStateNameShort ()
GetExtendedStateInformation
function string GetExtendedStateInformation ()
GetMinFiringDelay
function float GetMinFiringDelay ()
GetTimeOutDelays
RestoreTimeOutDelays
SetBCEnabled
function SetBCEnabled (bool bVal)
SetMinTimeOutDelay
function SetMinTimeOutDelay (float MinTimeOutDelay)
SetNextCheckFireShotDelay
function SetNextCheckFireShotDelay (float SuggestedFireAgainDelay)
StartFiring
function StartFiring ()
Update
function Update (EBCType BCTypeIn)