Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

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

AssignCoverSpot

function AssignCoverSpot (CoverSpot NewCoverSpot)


BCBlockFiring

function BCBlockFiring (float SuggestedFireAgainDelay, bool bStopFiring)


BCStartFiring

function BCStartFiring ()


CanAttemptLeapAttack

function bool CanAttemptLeapAttack ()


CanFire

function bool CanFire (bool bTest)

Overrides: U2NPCController.CanFire


CanImpale

function bool CanImpale (Pawn Victim)


CanStakeOut

function bool CanStakeOut ()


CanUseStillAnimations

function bool CanUseStillAnimations ()


CheckBehaviorEnabled

function CheckBehaviorEnabled ()


ClearCoverSpot

function ClearCoverSpot ()


ClearHoldSpots

function ClearHoldSpots ()

Overrides: U2NPCControllerShared.ClearHoldSpots


ClearOrders

function ClearOrders ()


ClearReferencesTo

function ClearReferencesTo (Pawn P)

Overrides: Controller.ClearReferencesTo


DamageAttitudeTo

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

Overrides: U2NPCControllerBase.DamageAttitudeTo


DeferTo

function bool DeferTo (Controller Other)

Overrides: U2NPCControllerBase.DeferTo


DetermineOrdersTransition

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


EndPanic

function EndPanic ()

Overrides: U2NPCControllerBase.EndPanic


EnemyAcquired

function EnemyAcquired ()

Overrides: U2NPCControllerShared.EnemyAcquired


eventSeeOther

function eventSeeOther (Actor Seen)

Overrides: U2NPCControllerShared.eventSeeOther


eventTakeDamage

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

Overrides: U2NPCControllerBase.eventTakeDamage


ExecuteDodge

function ExecuteDodge (bool bLeft, Object.Vector DodgeDestination)

Overrides: U2NPCControllerShared.ExecuteDodge


FakeNotifyLeapBeginTimer

function FakeNotifyLeapBeginTimer ()


FindCoverActor

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


FindSpecialAttraction

function bool FindSpecialAttraction ()


FireAt

function FireAt (Actor A)

Overrides: Controller.FireAt


FireShot

function FireShot (byte bUseAltMode)


FreezeNPCHackTimer

function FreezeNPCHackTimer ()


FriendlyBumpSpecial

function bool FriendlyBumpSpecial ()

Overrides: U2NPCControllerShared.FriendlyBumpSpecial


GetAttackStyle

function float GetAttackStyle (Actor TargetActor)

Overrides: Controller.GetAttackStyle


GetCurrentFireRate

function float GetCurrentFireRate ()


GetDefenseStyle

function float GetDefenseStyle (Actor TargetActor)

Overrides: Controller.GetDefenseStyle


GetExtendedStateInformation

function string GetExtendedStateInformation ()

Overrides: U2NPCController.GetExtendedStateInformation


GetHoldActor

function Actor GetHoldActor ()


GetLeapHighParameters

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


GetLeapLowParameters

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


GetLeapMaxParameters

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


GetLeapParameters

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


GetMetaStateName

function string GetMetaStateName ()

Overrides: U2NPCController.GetMetaStateName


GetMetaStateNameShort

function string GetMetaStateNameShort ()

Overrides: U2NPCController.GetMetaStateNameShort


GetOrderGiver

function Object GetOrderGiver ()

Overrides: U2NPCController.GetOrderGiver


GetOrders

function name GetOrders ()

Overrides: U2NPCController.GetOrders


GetOrdersObject

function Actor GetOrdersObject ()

Overrides: U2NPCController.GetOrdersObject


GetOrdersThreshold

function float GetOrdersThreshold ()

Overrides: U2NPCController.GetOrdersThreshold


GetPossibleFiringLocation

function bool GetPossibleFiringLocation (out Object.Vector FiringLocation)


GetReactionToEnemy

function AIController.EReaction GetReactionToEnemy (Pawn EnemyPawn)

Overrides: U2NPCControllerBase.GetReactionToEnemy


GetShouldUseDeviousTactics

function bool GetShouldUseDeviousTactics (float BaseSkill, float BaseOdds)


GetSpecialGoal

function Actor GetSpecialGoal ()

Overrides: U2NPCControllerShared.GetSpecialGoal


GetSpecifiedFireRate

function float GetSpecifiedFireRate (bool bPrimary)


HandleBump

function HandleBump (Pawn Other, bool bEnemy)


HandleBumpedByEnemy

function HandleBumpedByEnemy ()

Overrides: U2NPCControllerShared.HandleBumpedByEnemy


HandleEnemyInvalid

function HandleEnemyInvalid ()


HandleEnemyKilledSafe

function HandleEnemyKilledSafe (Controller Killer, Pawn KilledEnemy)


HandleEnemyKilledUnSafe

function HandleEnemyKilledUnSafe (Controller Killer, Pawn KilledEnemy)


HandleFriendDead

function HandleFriendDead (Pawn KilledFriend)


HandleKnockDown

function HandleKnockDown ()

Overrides: Controller.HandleKnockDown


HandleRecoveredEnemy

function HandleRecoveredEnemy ()


HasInstantHitAttack

function bool HasInstantHitAttack ()


HasSquadOrders

function bool HasSquadOrders ()


ImpaleAttack

function ImpaleAttack ()


ImpaleAttackAnimationAbort

function ImpaleAttackAnimationAbort ()


ImpalePawn

function ImpalePawn ()

Overrides: U2NPCControllerShared.ImpalePawn


IsFiring

function bool IsFiring ()

Overrides: U2NPCController.IsFiring


IsImpaling

function bool IsImpaling ()


IsMeleeAttacking

function bool IsMeleeAttacking ()

Overrides: U2NPCController.IsMeleeAttacking


IsMobile

function bool IsMobile ()

Overrides: Controller.IsMobile


IsPreparedToFire

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

Overrides: Controller.IsPreparedToFire


IsPreparedToMelee

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

Overrides: Controller.IsPreparedToMelee


IsStationary

function bool IsStationary ()

Overrides: Controller.IsStationary


MaybeAcquireEnemy

function bool MaybeAcquireEnemy (Pawn NewEnemy)

Overrides: U2NPCControllerShared.MaybeAcquireEnemy


MaybeAlertOthers

function MaybeAlertOthers (Pawn PotentialEnemy)

Overrides: U2NPCControllerShared.MaybeAlertOthers


MeleeAttack

function MeleeAttack (byte bUseAltMode)


MeleeAttackAbort

function MeleeAttackAbort ()


MeleeDamageTimer

function MeleeDamageTimer ()


NotifyKilled

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

Overrides: Controller.NotifyKilled


NotifyLeapBegin

function NotifyLeapBegin ()


NotifyMetaStateChange

function NotifyMetaStateChange ()


NotifyTakeHit

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

Overrides: Controller.NotifyTakeHit


OKToHit

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

Overrides: U2NPCController.OKToHit


PlayFriendDeadSound

function PlayFriendDeadSound ()


Possess

function Possess (Pawn P)

Overrides: U2NPCControllerBase.Possess


PossessStartup

function PossessStartup ()

Overrides: U2NPCControllerBase.PossessStartup


PriorityObjective

function byte PriorityObjective ()


ProcessOrders

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


ProcessOrdersFollow

function bool ProcessOrdersFollow (out Actor NewOrdersObject, Object NewOrderGiver)


ProcessOrdersGoto

function bool ProcessOrdersGoto (out Actor NewOrdersObject)


ProcessOrdersHold

function bool ProcessOrdersHold (out Actor NewOrdersObject, Object NewOrderGiver)


ProcessOrdersNone

function bool ProcessOrdersNone ()


ProcessOrdersSquad

function bool ProcessOrdersSquad ()


RangedAttackAbort

function RangedAttackAbort ()


ResetGlobalAISettings

function ResetGlobalAISettings ()


Restart

function Restart ()

Overrides: Controller.Restart


RestoreCanStrafe

function RestoreCanStrafe ()

Overrides: U2NPCControllerBase.RestoreCanStrafe


SetControllerEnemy

function SetControllerEnemy (Pawn Enemy)

Overrides: Controller.SetControllerEnemy


SetExecuteOrders

function SetExecuteOrders (bool bVal)

Overrides: U2NPCController.SetExecuteOrders


SetOrders

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

Overrides: U2NPCController.SetOrders


SetOrdersObject

function SetOrdersObject (Actor NewOrdersObject)


SetPeripheralVision

function SetPeripheralVision ()

Overrides: U2NPCControllerShared.SetPeripheralVision


SetSpecialAnim

function float SetSpecialAnim (name AnimAction, bool bOverrideBehavior)


SetStationary

function SetStationary (bool bVal, optional bool bStayStationaryVal)

Overrides: Controller.SetStationary


ShouldDeferTo

function bool ShouldDeferTo (Controller Other)


ShouldGiveUpHunting

function bool ShouldGiveUpHunting ()


SpawnShotTimer

function SpawnShotTimer ()


SpecialDeathHandling

function SpecialDeathHandling (Pawn KilledPawn)


SplashDamageAttack

function bool SplashDamageAttack ()

Overrides: U2NPCControllerShared.SplashDamageAttack


SplashJump

function bool SplashJump ()


StopFiring

function StopFiring (float SuggestedFireAgainDelay, Controller.EStopFiringInfo SFInfo)

Overrides: Controller.StopFiring


StopFiringBase

function StopFiringBase ()


StopFiringUpdate

function StopFiringUpdate (float SuggestedFireAgainDelay)


StrafeFromDamage

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

Overrides: U2NPCControllerShared.StrafeFromDamage


TestCanJump

function bool TestCanJump ()


TrySplashDamageAttack

function bool TrySplashDamageAttack ()


UnImpalePawn

function UnImpalePawn ()

Overrides: U2NPCControllerShared.UnImpalePawn


UpdateBehavior

function UpdateBehavior (bool bEnableBC)


UpdateEnemy

function UpdateEnemy (optional bool bTryRadiusCheck)

Overrides: U2NPCControllerBase.UpdateEnemy


UpdateOrders

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


UpdateStance

function bool UpdateStance (byte TargetStance, optional float EnemyDistance)

Overrides: U2NPCControllerShared.UpdateStance


UseTacticalJumps

function bool UseTacticalJumps ()


WanderAfterFriendlyBumpExtra

function bool WanderAfterFriendlyBumpExtra ()

Overrides: U2NPCControllerShared.WanderAfterFriendlyBumpExtra


WhatToDoNext

function WhatToDoNext ()

Overrides: U2NPCControllerBase.WhatToDoNext