Cogito, ergo sum

UE2:U2NPCController functions (U2XMP)

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

Contents

Functions

Instance functions

AIMessage

function AIMessage (string Prefix, coerce string Msg, optional bool bSkipLine)


BigJump

function BigJump (Actor JumpDest)


CanDoRagdollHit

function bool CanDoRagdollHit ()


CanFire

function bool CanFire (bool bTest)


CanKnockdown

function bool CanKnockdown (Pawn Instigator, Object.Vector HitLocation, float Damage, class<DamageTypeDamageType, Object.Vector Momentum)


CanPanic

function bool CanPanic (Pawn Instigator, Object.Vector HitLocation, float Damage, class<DamageTypeDamageType, Object.Vector Momentum)


CheckTargetInAttackRange

function bool CheckTargetInAttackRange (bool bTest)


DMAI

function DMAI (coerce string Msg, optional bool bForce)


DMAIA

function DMAIA (coerce string Msg, optional bool bForce)


DMAIE

function DMAIE (coerce string Msg, optional bool bForce)


DMAIL

function DMAIL (coerce string Msg, optional bool bForce)


DMAIM

function DMAIM (coerce string Msg, optional bool bForce)


DMAssert

function DMAssert (bool bTestCondition, coerce string Msg, optional coerce string PreFix)

Overrides: Actor.DMAssert


DumpAIEvents

function DumpAIEvents ()


DyingRestart

function DyingRestart ()


EnableProbeEvent

function EnableProbeEvent (name EventName, bool bVal)


ForceNavigationError

function ForceNavigationError (bool bScriptedStateMoves, bool bMoveTarget, bool bMinZ)


GetAIEventInfo

function string GetAIEventInfo ()


GetBounceLifespan

function float GetBounceLifespan ()


GetExtendedInformation

function GetExtendedInformation (out array<stringReturnedStrings)


GetExtendedStateInformation

function string GetExtendedStateInformation ()


GetFaceSpecialGoal

function bool GetFaceSpecialGoal ()


GetIsKamikaze

function bool GetIsKamikaze ()


GetIsSniping

function bool GetIsSniping ()


GetMetaStateName

function string GetMetaStateName ()


GetMetaStateNameShort

function string GetMetaStateNameShort ()


GetNumWeapons

function int GetNumWeapons ()


GetOrderGiver

function Object GetOrderGiver ()


GetOrders

function name GetOrders ()


GetOrdersObject

function Actor GetOrdersObject ()


GetOrdersThreshold

function float GetOrdersThreshold ()


GetQuickFire

function bool GetQuickFire ()


GetSpecialGoal

function Actor GetSpecialGoal ()


GetSpecialGoalDistance

function float GetSpecialGoalDistance ()


HandleIncoming

function HandleIncoming (Actor IncomingActor, Object.Vector IncomingDirection, float IncomingSpeed)


HasScript

function bool HasScript ()


HearPickup

function HearPickup (Pawn Other)

Overrides: AIController.HearPickup


HideActor

function HideActor (Actor A)


IsFiring

function bool IsFiring ()


IsMeleeAttacking

function bool IsMeleeAttacking ()


MaybeInheritEnemy

function MaybeInheritEnemy (Pawn Other, Pawn NewEnemy, optional bool bCanSee)


MaybeSetEnemy

function bool MaybeSetEnemy (Pawn NewEnemy, optional bool bAlertingOthers)


NavigationError

function NavigationError (U2Pawn.EErrorType ErrorType, string ErrorMessage)


NILog

function NILog (coerce string ContextStr)


NPCError

function NPCError (U2Pawn.EErrorType ErrorType, coerce string Msg)


NPCErrorExternal

function NPCErrorExternal (coerce string Msg)


NPCErrorInternal

function NPCErrorInternal (coerce string Msg)


OKToHit

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


ReadyForAction

function bool ReadyForAction ()


ReadyForOrders

function bool ReadyForOrders ()


ReflectNotify

function ReflectNotify (name NotifyName)


RefreshWeapon

function RefreshWeapon (name WeaponName)


ReloadScriptController

function ReloadScriptController ()


SetDebugAI

function SetDebugAI (bool bVal)


SetDebugAIAttacks

function SetDebugAIAttacks (bool bVal)


SetDebugAIEvents

function SetDebugAIEvents (bool bVal)


SetDebugAIFlags

function SetDebugAIFlags (int Value)


SetDebugAIMovement

function SetDebugAIMovement (bool bVal)


SetDormant

function SetDormant (bool bVal, optional bool bStayDormantVal)


SetExecuteOrders

function SetExecuteOrders (bool bVal)


SetOrders

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


SetRandomSoundTimer

function SetRandomSoundTimer ()


SetScript

function SetScript (string NewCommandFileName, optional string NewStartLabel)


SetSpecialGoal

function SetSpecialGoal (Actor NewSpecialGoal, optional float NewSpecialGoalDistance, optional bool bFaceSpecialGoalNew)


SetTestMoveTarget

function bool SetTestMoveTarget (Actor TargetActor, optional float MoveSpeed, optional Actor.ETacticalMoveType TMT)


ShouldBounceProjectile

function bool ShouldBounceProjectile ()


ShowActor

function ShowActor (Actor A, optional float NewDrawScale, optional Actor.ERenderStyle NewStyle)


Shutdown

function Shutdown (bool bVal)


SupportsWeaponAltFire

function bool SupportsWeaponAltFire (Weapon W)


SupportsWeaponFire

function bool SupportsWeaponFire (Weapon W)


UnderScriptControl

function bool UnderScriptControl ()


YellAt

function YellAt (Pawn Moron)