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

UE2:U2NPCController functions (U2XMP)

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

Contents

Functions[edit]

Instance functions[edit]

AIMessage[edit]

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


BigJump[edit]

function BigJump (Actor JumpDest)


CanDoRagdollHit[edit]

function bool CanDoRagdollHit ()


CanFire[edit]

function bool CanFire (bool bTest)


CanKnockdown[edit]

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


CanPanic[edit]

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


CheckTargetInAttackRange[edit]

function bool CheckTargetInAttackRange (bool bTest)


DMAI[edit]

function DMAI (coerce string Msg, optional bool bForce)


DMAIA[edit]

function DMAIA (coerce string Msg, optional bool bForce)


DMAIE[edit]

function DMAIE (coerce string Msg, optional bool bForce)


DMAIL[edit]

function DMAIL (coerce string Msg, optional bool bForce)


DMAIM[edit]

function DMAIM (coerce string Msg, optional bool bForce)


DMAssert[edit]

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

Overrides: Actor.DMAssert


DumpAIEvents[edit]

function DumpAIEvents ()


DyingRestart[edit]

function DyingRestart ()


EnableProbeEvent[edit]

function EnableProbeEvent (name EventName, bool bVal)


ForceNavigationError[edit]

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


GetAIEventInfo[edit]

function string GetAIEventInfo ()


GetBounceLifespan[edit]

function float GetBounceLifespan ()


GetExtendedInformation[edit]

function GetExtendedInformation (out array<stringReturnedStrings)


GetExtendedStateInformation[edit]

function string GetExtendedStateInformation ()


GetFaceSpecialGoal[edit]

function bool GetFaceSpecialGoal ()


GetIsKamikaze[edit]

function bool GetIsKamikaze ()


GetIsSniping[edit]

function bool GetIsSniping ()


GetMetaStateName[edit]

function string GetMetaStateName ()


GetMetaStateNameShort[edit]

function string GetMetaStateNameShort ()


GetNumWeapons[edit]

function int GetNumWeapons ()


GetOrderGiver[edit]

function Object GetOrderGiver ()


GetOrders[edit]

function name GetOrders ()


GetOrdersObject[edit]

function Actor GetOrdersObject ()


GetOrdersThreshold[edit]

function float GetOrdersThreshold ()


GetQuickFire[edit]

function bool GetQuickFire ()


GetSpecialGoal[edit]

function Actor GetSpecialGoal ()


GetSpecialGoalDistance[edit]

function float GetSpecialGoalDistance ()


HandleIncoming[edit]

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


HasScript[edit]

function bool HasScript ()


HearPickup[edit]

function HearPickup (Pawn Other)

Overrides: AIController.HearPickup


HideActor[edit]

function HideActor (Actor A)


IsFiring[edit]

function bool IsFiring ()


IsMeleeAttacking[edit]

function bool IsMeleeAttacking ()


MaybeInheritEnemy[edit]

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


MaybeSetEnemy[edit]

function bool MaybeSetEnemy (Pawn NewEnemy, optional bool bAlertingOthers)


NavigationError[edit]

function NavigationError (U2Pawn.EErrorType ErrorType, string ErrorMessage)


NILog[edit]

function NILog (coerce string ContextStr)


NPCError[edit]

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


NPCErrorExternal[edit]

function NPCErrorExternal (coerce string Msg)


NPCErrorInternal[edit]

function NPCErrorInternal (coerce string Msg)


OKToHit[edit]

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


ReadyForAction[edit]

function bool ReadyForAction ()


ReadyForOrders[edit]

function bool ReadyForOrders ()


ReflectNotify[edit]

function ReflectNotify (name NotifyName)


RefreshWeapon[edit]

function RefreshWeapon (name WeaponName)


ReloadScriptController[edit]

function ReloadScriptController ()


SetDebugAI[edit]

function SetDebugAI (bool bVal)


SetDebugAIAttacks[edit]

function SetDebugAIAttacks (bool bVal)


SetDebugAIEvents[edit]

function SetDebugAIEvents (bool bVal)


SetDebugAIFlags[edit]

function SetDebugAIFlags (int Value)


SetDebugAIMovement[edit]

function SetDebugAIMovement (bool bVal)


SetDormant[edit]

function SetDormant (bool bVal, optional bool bStayDormantVal)


SetExecuteOrders[edit]

function SetExecuteOrders (bool bVal)


SetOrders[edit]

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


SetRandomSoundTimer[edit]

function SetRandomSoundTimer ()


SetScript[edit]

function SetScript (string NewCommandFileName, optional string NewStartLabel)


SetSpecialGoal[edit]

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


SetTestMoveTarget[edit]

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


ShouldBounceProjectile[edit]

function bool ShouldBounceProjectile ()


ShowActor[edit]

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


Shutdown[edit]

function Shutdown (bool bVal)


SupportsWeaponAltFire[edit]

function bool SupportsWeaponAltFire (Weapon W)


SupportsWeaponFire[edit]

function bool SupportsWeaponFire (Weapon W)


UnderScriptControl[edit]

function bool UnderScriptControl ()


YellAt[edit]

function YellAt (Pawn Moron)