Always snap to grid

UE2:BehaviorControllerInterf (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> BehaviorControllerInterf
Package: 
U2AI
Within class: 
U2NPCControllerBasic
Direct subclass:
BehaviorControllerBasic

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

function GetTimeOutDelays (out float CheckBehaviorDelay, out float CheckMetaStateDelay)


RestoreTimeOutDelays

function RestoreTimeOutDelays (float CheckBehaviorDelay, float CheckMetaStateDelay)


SetBCEnabled

function SetBCEnabled (bool bVal)


SetMinTimeOutDelay

function SetMinTimeOutDelay (float MinTimeOutDelay)


SetNextCheckFireShotDelay

function SetNextCheckFireShotDelay (float SuggestedFireAgainDelay)


StartFiring

function StartFiring ()


Update

function Update (EBCType BCTypeIn)