The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:U2NPCControllerBaseOld instance functions (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

Contents

;Other member categories for this class::states

Instance functions[edit]

AmbushClearOtherSpots[edit]

function AmbushClearOtherSpots ()


AmbushFindSpot[edit]

function bool AmbushFindSpot ()


AmbushPickSpot[edit]

function AmbushPickSpot ()


AssignHoldSpot[edit]

function bool AssignHoldSpot (Actor LocationActor)


BigJump[edit]

function BigJump (Actor JumpDest)

Overrides: U2NPCController.BigJump


CanFire[edit]

function bool CanFire (bool bTest)

Overrides: U2NPCController.CanFire


CanMeleeAttack[edit]

function bool CanMeleeAttack ()


CanStakeOut[edit]

function bool CanStakeOut ()


ChangedWeapon[edit]

function ChangedWeapon ()

Overrides: Controller.ChangedWeapon


ClearAttack[edit]

protected function ClearAttack ()


ClearHoldSpots[edit]

function ClearHoldSpots ()

Overrides: U2NPCControllerShared.ClearHoldSpots


ClearReferencesTo[edit]

function ClearReferencesTo (Pawn P)

Overrides: Controller.ClearReferencesTo


CombatMove[edit]

function CombatMove ()


DamageAttitudeTo[edit]

function DamageAttitudeTo (Pawn Other, float Damage, class<DamageTypeDamageType)

Overrides: Controller.DamageAttitudeTo


DeferTo[edit]

function bool DeferTo (Controller Other)

Overrides: Controller.DeferTo


DetermineOrdersTransition[edit]

function bool DetermineOrdersTransition (out name DestinationState, out name DestinationLabel)


DoRangedAttack[edit]

function DoRangedAttack ()


EnemyAcquired[edit]

function EnemyAcquired ()

Overrides: U2NPCControllerShared.EnemyAcquired


eventBumpFriend[edit]

function eventBumpFriend (Pawn Other)

Overrides: U2NPCControllerShared.eventBumpFriend


eventTakeDamage[edit]

function eventTakeDamage (int Damage, Pawn Instigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)

Overrides: U2NPCControllerScriptable.eventTakeDamage


eventTookDamage[edit]

function eventTookDamage (int Damage, Pawn Instigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)

Overrides: U2NPCControllerScriptable.eventTookDamage


ExecuteDodge[edit]

function ExecuteDodge (bool bLeft, Object.Vector DodgeDestination)

Overrides: U2NPCControllerShared.ExecuteDodge


FindSpecialAttraction[edit]

function bool FindSpecialAttraction ()


FireAt[edit]

function FireAt (Actor A)

Overrides: Controller.FireAt


FireShot[edit]

function FireShot (byte bUseAltMode)


FriendlyBumpSpecial[edit]

function bool FriendlyBumpSpecial ()

Overrides: U2NPCControllerShared.FriendlyBumpSpecial


GameRelatedKilled[edit]

function GameRelatedKilled (Controller Killer, Controller Killed, Pawn KilledPawn, class<DamageTypeDamageType)


GetAttackStyle[edit]

function float GetAttackStyle (Actor TargetActor)

Overrides: Controller.GetAttackStyle


GetCurrentFireRate[edit]

function float GetCurrentFireRate ()


GetMoveTargetFollow[edit]

function U2NPCControllerShared.EMoveType GetMoveTargetFollow (Actor GoalActor, out Actor Path, optional float GoalDistance)

Overrides: U2NPCControllerShared.GetMoveTargetFollow


GetOrderGiver[edit]

function Object GetOrderGiver ()

Overrides: U2NPCController.GetOrderGiver


GetOrders[edit]

function name GetOrders ()

Overrides: U2NPCController.GetOrders


GetOrdersObject[edit]

function Actor GetOrdersObject ()

Overrides: U2NPCController.GetOrdersObject


GetReactionToEnemy[edit]

function AIController.EReaction GetReactionToEnemy (Pawn EnemyPawn)


GetRealOrders[edit]

function name GetRealOrders ()


GetShouldUseDeviousTactics[edit]

function bool GetShouldUseDeviousTactics (float BaseSkill, float BaseOdds)


GetSpecifiedFireRate[edit]

function float GetSpecifiedFireRate (bool bPrimary)


GiveUpTactical[edit]

function GiveUpTactical (bool bCanCharge)


HandleBumpedByEnemy[edit]

function HandleBumpedByEnemy ()

Overrides: U2NPCControllerShared.HandleBumpedByEnemy


HandleEnemyKilledSafe[edit]

function HandleEnemyKilledSafe (Controller Killer, Pawn KilledEnemy)


HandleEnemyKilledUnSafe[edit]

function HandleEnemyKilledUnSafe (Controller Killer, Pawn KilledEnemy)


HandleOrdersAttack[edit]

function HandleOrdersAttack ()


HandleOrdersDefend[edit]

function HandleOrdersDefend ()


HandleOrdersFollow[edit]

function HandleOrdersFollow ()


HandleOrdersHold[edit]

function HandleOrdersHold ()


HandleOrdersNone[edit]

function HandleOrdersNone ()


HandleTakeHit[edit]

function HandleTakeHit (Object.Vector HitLocation, int Damage, class<DamageTypeDamageType)


IsFiring[edit]

function bool IsFiring ()

Overrides: U2NPCController.IsFiring


IsMeleeAttacking[edit]

function bool IsMeleeAttacking ()

Overrides: U2NPCController.IsMeleeAttacking


IsMobile[edit]

function bool IsMobile ()

Overrides: Controller.IsMobile


IsPreparedToFire[edit]

function bool IsPreparedToFire (bool bOwner, optional bool bCheckWeaponRating, optional int MinWeaponRating)

Overrides: Controller.IsPreparedToFire


IsPreparedToMelee[edit]

function bool IsPreparedToMelee (bool bOwner, optional bool bCheckWeaponRating, optional int MinWeaponRating)

Overrides: Controller.IsPreparedToMelee


IsStationary[edit]

function bool IsStationary ()

Overrides: Controller.IsStationary


MaybeStopFiring[edit]

function MaybeStopFiring (optional float SuggestedFireAgainDelay)


NonRangedFireCheck[edit]

function bool NonRangedFireCheck ()


NonRangedFireTimer[edit]

final function NonRangedFireTimer ()


NotifyKilled[edit]

function NotifyKilled (Controller Killer, Controller Killed, Pawn KilledPawn, class<DamageTypeDamageType)

Overrides: Controller.NotifyKilled


NotifyTakeHit[edit]

function NotifyTakeHit (Pawn InstigatedBy, Object.Vector HitLocation, int Damage, class<DamageTypeDamageType, Object.Vector Momentum)

Overrides: Controller.NotifyTakeHit


OKToHit[edit]

function bool OKToHit (Actor HitActor, Object.Vector HitLocation, Object.Vector HitNormal)

Overrides: U2NPCController.OKToHit


PickLocalInventoryDestination[edit]

function bool PickLocalInventoryDestination (float MaxDist, float MinDistraction)


Possess[edit]

function Possess (Pawn P)

Overrides: U2NPCControllerShared.Possess


PreparedToHunt[edit]

function bool PreparedToHunt ()


PriorityObjective[edit]

function byte PriorityObjective ()


ReadyForAction[edit]

function bool ReadyForAction ()

Overrides: U2NPCController.ReadyForAction


ReadyForOrders[edit]

function bool ReadyForOrders ()

Overrides: U2NPCController.ReadyForOrders


ResetAttackTimer[edit]

function ResetAttackTimer (float SuggestedFireAgainDelay)


ResetGlobalAISettings[edit]

function ResetGlobalAISettings ()


Restart[edit]

function Restart ()

Overrides: Controller.Restart


RestoreRealOrders[edit]

function RestoreRealOrders ()


SendMessageAcknowledgeOrders[edit]

function SendMessageAcknowledgeOrders (Controller OrderGiver, float Wait)


SendMessageInPosition[edit]

function SendMessageInPosition (float Wait)


SendMessageNearPoint[edit]

function SendMessageNearPoint (Pawn Point, float Wait)


SetControllerEnemy[edit]

function SetControllerEnemy (Pawn Enemy)

Overrides: Controller.SetControllerEnemy


SetDefense[edit]

function Actor SetDefense ()


SetFall[edit]

function SetFall ()

Overrides: U2NPCControllerShared.SetFall


SetMoveTarget[edit]

function U2NPCControllerShared.EMoveType SetMoveTarget (Actor GoalActor, optional float GoalDistance, optional bool bWaitForLanding)

Overrides: U2NPCControllerShared.SetMoveTarget


SetOrders[edit]

function bool SetOrders (optional name NewOrders, optional Actor NewOrdersObject, optional float NewOrdersThreshold, optional Object NewOrderGiver, optional bool bAcknowledge)

Overrides: U2NPCController.SetOrders


SetOrdersObject[edit]

function SetOrdersObject (Actor NewOrdersObject)


SetRealOrders[edit]

function SetRealOrders (name NewOrders, Actor NewOrdersObject, Object NewOrderGiver)


SetRoamTarget[edit]

function SetRoamTarget (Actor NewRoamTarget)


SetStationary[edit]

function SetStationary (bool bVal, optional bool bStayStationaryVal)

Overrides: Controller.SetStationary


SharedTimerEvent[edit]

function SharedTimerEvent ()

Overrides: U2NPCControllerShared.SharedTimerEvent


ShouldDeferTo[edit]

function bool ShouldDeferTo (Controller Other)


ShouldDestroyNPC[edit]

function bool ShouldDestroyNPC ()


ShouldGiveUpHunting[edit]

function bool ShouldGiveUpHunting ()


ShouldTransitionToMeleeAttack[edit]

function bool ShouldTransitionToMeleeAttack ()


SpecialAttackTransition[edit]

function bool SpecialAttackTransition ()


SpecialFire[edit]

function SpecialFire ()


StateTransition[edit]

function StateTransition (name DestinationState, optional name DestinationLabel)


StopFiring[edit]

function StopFiring (float SuggestedFireAgainDelay, Controller.EStopFiringInfo SFInfo)

Overrides: Controller.StopFiring


TestCanJump[edit]

function bool TestCanJump ()


TookDamageBase[edit]

function TookDamageBase (int Damage, Pawn Instigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)


UpdateEnemy[edit]

function UpdateEnemy (optional bool bTryRadiusCheck)


UpdateOrders[edit]

function UpdateOrders (name NewOrders, Object NewOrderGiver, Actor NewOrdersObject)


UseTacticalJumps[edit]

function bool UseTacticalJumps ()


WanderAfterFriendlyBumpExtra[edit]

function bool WanderAfterFriendlyBumpExtra ()

Overrides: U2NPCControllerShared.WanderAfterFriendlyBumpExtra


WhatToDoNext[edit]

function WhatToDoNext ()

Overrides: U2NPCControllerScriptable.WhatToDoNext