I'm a doctor, not a mechanic

UE2:U2NPCControllerBasic instance functions (U2XMP)

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

Contents

;Other member categories for this class::internal variables, states

Instance functions[edit]

AssignCoverSpot[edit]

function AssignCoverSpot (CoverSpot NewCoverSpot)


BCBlockFiring[edit]

function BCBlockFiring (float SuggestedFireAgainDelay, bool bStopFiring)


BCStartFiring[edit]

function BCStartFiring ()


CanAttemptLeapAttack[edit]

function bool CanAttemptLeapAttack ()


CanFire[edit]

function bool CanFire (bool bTest)

Overrides: U2NPCController.CanFire


CanImpale[edit]

function bool CanImpale (Pawn Victim)


CanStakeOut[edit]

function bool CanStakeOut ()


CanUseStillAnimations[edit]

function bool CanUseStillAnimations ()


CheckBehaviorEnabled[edit]

function CheckBehaviorEnabled ()


ClearCoverSpot[edit]

function ClearCoverSpot ()


ClearHoldSpots[edit]

function ClearHoldSpots ()

Overrides: U2NPCControllerShared.ClearHoldSpots


ClearOrders[edit]

function ClearOrders ()


ClearReferencesTo[edit]

function ClearReferencesTo (Pawn P)

Overrides: Controller.ClearReferencesTo


DamageAttitudeTo[edit]

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

Overrides: U2NPCControllerBase.DamageAttitudeTo


DeferTo[edit]

function bool DeferTo (Controller Other)

Overrides: U2NPCControllerBase.DeferTo


DetermineOrdersTransition[edit]

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


EndPanic[edit]

function EndPanic ()

Overrides: U2NPCControllerBase.EndPanic


EnemyAcquired[edit]

function EnemyAcquired ()

Overrides: U2NPCControllerShared.EnemyAcquired


eventSeeOther[edit]

function eventSeeOther (Actor Seen)

Overrides: U2NPCControllerShared.eventSeeOther


eventTakeDamage[edit]

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

Overrides: U2NPCControllerBase.eventTakeDamage


ExecuteDodge[edit]

function ExecuteDodge (bool bLeft, Object.Vector DodgeDestination)

Overrides: U2NPCControllerShared.ExecuteDodge


FakeNotifyLeapBeginTimer[edit]

function FakeNotifyLeapBeginTimer ()


FindCoverActor[edit]

function CoverSpot FindCoverActor (float MaxDistance, float CosMinAngle, float CosMaxAngle, bool bIncludePathable)


FindSpecialAttraction[edit]

function bool FindSpecialAttraction ()


FireAt[edit]

function FireAt (Actor A)

Overrides: Controller.FireAt


FireShot[edit]

function FireShot (byte bUseAltMode)


FreezeNPCHackTimer[edit]

function FreezeNPCHackTimer ()


FriendlyBumpSpecial[edit]

function bool FriendlyBumpSpecial ()

Overrides: U2NPCControllerShared.FriendlyBumpSpecial


GetAttackStyle[edit]

function float GetAttackStyle (Actor TargetActor)

Overrides: Controller.GetAttackStyle


GetCurrentFireRate[edit]

function float GetCurrentFireRate ()


GetDefenseStyle[edit]

function float GetDefenseStyle (Actor TargetActor)

Overrides: Controller.GetDefenseStyle


GetExtendedStateInformation[edit]

function string GetExtendedStateInformation ()

Overrides: U2NPCController.GetExtendedStateInformation


GetHoldActor[edit]

function Actor GetHoldActor ()


GetLeapHighParameters[edit]

function UtilGame.ELeapResult GetLeapHighParameters (float TargetDistance, Object.Vector Extents, out Object.Vector LeapDestination, out float Theta, out float LeapSpeed)


GetLeapLowParameters[edit]

function UtilGame.ELeapResult GetLeapLowParameters (float TargetDistance, Object.Vector Extents, out Object.Vector LeapDestination, out float Theta, out float LeapSpeed)


GetLeapMaxParameters[edit]

function bool GetLeapMaxParameters (out Object.Vector LeapDestination, Object.Vector Extents, out float Theta, out float LeapSpeed)


GetLeapParameters[edit]

function bool GetLeapParameters (out Object.Rotator LeapRotation, out float LeapSpeed)


GetMetaStateName[edit]

function string GetMetaStateName ()

Overrides: U2NPCController.GetMetaStateName


GetMetaStateNameShort[edit]

function string GetMetaStateNameShort ()

Overrides: U2NPCController.GetMetaStateNameShort


GetOrderGiver[edit]

function Object GetOrderGiver ()

Overrides: U2NPCController.GetOrderGiver


GetOrders[edit]

function name GetOrders ()

Overrides: U2NPCController.GetOrders


GetOrdersObject[edit]

function Actor GetOrdersObject ()

Overrides: U2NPCController.GetOrdersObject


GetOrdersThreshold[edit]

function float GetOrdersThreshold ()

Overrides: U2NPCController.GetOrdersThreshold


GetPossibleFiringLocation[edit]

function bool GetPossibleFiringLocation (out Object.Vector FiringLocation)


GetReactionToEnemy[edit]

function AIController.EReaction GetReactionToEnemy (Pawn EnemyPawn)

Overrides: U2NPCControllerBase.GetReactionToEnemy


GetShouldUseDeviousTactics[edit]

function bool GetShouldUseDeviousTactics (float BaseSkill, float BaseOdds)


GetSpecialGoal[edit]

function Actor GetSpecialGoal ()

Overrides: U2NPCControllerShared.GetSpecialGoal


GetSpecifiedFireRate[edit]

function float GetSpecifiedFireRate (bool bPrimary)


HandleBump[edit]

function HandleBump (Pawn Other, bool bEnemy)


HandleBumpedByEnemy[edit]

function HandleBumpedByEnemy ()

Overrides: U2NPCControllerShared.HandleBumpedByEnemy


HandleEnemyInvalid[edit]

function HandleEnemyInvalid ()


HandleEnemyKilledSafe[edit]

function HandleEnemyKilledSafe (Controller Killer, Pawn KilledEnemy)


HandleEnemyKilledUnSafe[edit]

function HandleEnemyKilledUnSafe (Controller Killer, Pawn KilledEnemy)


HandleFriendDead[edit]

function HandleFriendDead (Pawn KilledFriend)


HandleKnockDown[edit]

function HandleKnockDown ()

Overrides: Controller.HandleKnockDown


HandleRecoveredEnemy[edit]

function HandleRecoveredEnemy ()


HasInstantHitAttack[edit]

function bool HasInstantHitAttack ()


HasSquadOrders[edit]

function bool HasSquadOrders ()


ImpaleAttack[edit]

function ImpaleAttack ()


ImpaleAttackAnimationAbort[edit]

function ImpaleAttackAnimationAbort ()


ImpalePawn[edit]

function ImpalePawn ()

Overrides: U2NPCControllerShared.ImpalePawn


IsFiring[edit]

function bool IsFiring ()

Overrides: U2NPCController.IsFiring


IsImpaling[edit]

function bool IsImpaling ()


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


MaybeAcquireEnemy[edit]

function bool MaybeAcquireEnemy (Pawn NewEnemy)

Overrides: U2NPCControllerShared.MaybeAcquireEnemy


MaybeAlertOthers[edit]

function MaybeAlertOthers (Pawn PotentialEnemy)

Overrides: U2NPCControllerShared.MaybeAlertOthers


MeleeAttack[edit]

function MeleeAttack (byte bUseAltMode)


MeleeAttackAbort[edit]

function MeleeAttackAbort ()


MeleeDamageTimer[edit]

function MeleeDamageTimer ()


NotifyKilled[edit]

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

Overrides: Controller.NotifyKilled


NotifyLeapBegin[edit]

function NotifyLeapBegin ()


NotifyMetaStateChange[edit]

function NotifyMetaStateChange ()


NotifyTakeHit[edit]

function NotifyTakeHit (Pawn Instigator, 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


PlayFriendDeadSound[edit]

function PlayFriendDeadSound ()


Possess[edit]

function Possess (Pawn P)

Overrides: U2NPCControllerBase.Possess


PossessStartup[edit]

function PossessStartup ()

Overrides: U2NPCControllerBase.PossessStartup


PriorityObjective[edit]

function byte PriorityObjective ()


ProcessOrders[edit]

function bool ProcessOrders (name NewOrders, out Actor NewOrdersObject, out float NewOrdersThreshold, out Object NewOrderGiver)


ProcessOrdersFollow[edit]

function bool ProcessOrdersFollow (out Actor NewOrdersObject, Object NewOrderGiver)


ProcessOrdersGoto[edit]

function bool ProcessOrdersGoto (out Actor NewOrdersObject)


ProcessOrdersHold[edit]

function bool ProcessOrdersHold (out Actor NewOrdersObject, Object NewOrderGiver)


ProcessOrdersNone[edit]

function bool ProcessOrdersNone ()


ProcessOrdersSquad[edit]

function bool ProcessOrdersSquad ()


RangedAttackAbort[edit]

function RangedAttackAbort ()


ResetGlobalAISettings[edit]

function ResetGlobalAISettings ()


Restart[edit]

function Restart ()

Overrides: Controller.Restart


RestoreCanStrafe[edit]

function RestoreCanStrafe ()

Overrides: U2NPCControllerBase.RestoreCanStrafe


SetControllerEnemy[edit]

function SetControllerEnemy (Pawn Enemy)

Overrides: Controller.SetControllerEnemy


SetExecuteOrders[edit]

function SetExecuteOrders (bool bVal)

Overrides: U2NPCController.SetExecuteOrders


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)


SetPeripheralVision[edit]

function SetPeripheralVision ()

Overrides: U2NPCControllerShared.SetPeripheralVision


SetSpecialAnim[edit]

function float SetSpecialAnim (name AnimAction, bool bOverrideBehavior)


SetStationary[edit]

function SetStationary (bool bVal, optional bool bStayStationaryVal)

Overrides: Controller.SetStationary


ShouldDeferTo[edit]

function bool ShouldDeferTo (Controller Other)


ShouldGiveUpHunting[edit]

function bool ShouldGiveUpHunting ()


SpawnShotTimer[edit]

function SpawnShotTimer ()


SpecialDeathHandling[edit]

function SpecialDeathHandling (Pawn KilledPawn)


SplashDamageAttack[edit]

function bool SplashDamageAttack ()

Overrides: U2NPCControllerShared.SplashDamageAttack


SplashJump[edit]

function bool SplashJump ()


StopFiring[edit]

function StopFiring (float SuggestedFireAgainDelay, Controller.EStopFiringInfo SFInfo)

Overrides: Controller.StopFiring


StopFiringBase[edit]

function StopFiringBase ()


StopFiringUpdate[edit]

function StopFiringUpdate (float SuggestedFireAgainDelay)


StrafeFromDamage[edit]

function bool StrafeFromDamage (float Damage, class<DamageTypeDamageType, bool bFindDest)

Overrides: U2NPCControllerShared.StrafeFromDamage


TestCanJump[edit]

function bool TestCanJump ()


TrySplashDamageAttack[edit]

function bool TrySplashDamageAttack ()


UnImpalePawn[edit]

function UnImpalePawn ()

Overrides: U2NPCControllerShared.UnImpalePawn


UpdateBehavior[edit]

function UpdateBehavior (bool bEnableBC)


UpdateEnemy[edit]

function UpdateEnemy (optional bool bTryRadiusCheck)

Overrides: U2NPCControllerBase.UpdateEnemy


UpdateOrders[edit]

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


UpdateStance[edit]

function bool UpdateStance (byte TargetStance, optional float EnemyDistance)

Overrides: U2NPCControllerShared.UpdateStance


UseTacticalJumps[edit]

function bool UseTacticalJumps ()


WanderAfterFriendlyBumpExtra[edit]

function bool WanderAfterFriendlyBumpExtra ()

Overrides: U2NPCControllerShared.WanderAfterFriendlyBumpExtra


WhatToDoNext[edit]

function WhatToDoNext ()

Overrides: U2NPCControllerBase.WhatToDoNext