I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:U2NPCControllerBot instance functions (U2XMP)

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

Instance functions[edit]

AddedHumanThreat[edit]

function float AddedHumanThreat ()

Overrides: U2NPCControllerShared.AddedHumanThreat


AdjustDesireFor[edit]

function float AdjustDesireFor (Pickup P)

Overrides: AIController.AdjustDesireFor


AmbushClearOtherSpots[edit]

function AmbushClearOtherSpots ()


AmbushFindSpot[edit]

function bool AmbushFindSpot ()


AmbushPickSpot[edit]

function AmbushPickSpot ()


AmmoReadyForAction[edit]

function bool AmmoReadyForAction (U2Weapon U2W)


BigJump[edit]

function BigJump (Actor JumpDest)

Overrides: U2NPCController.BigJump


CallForHelp[edit]

function CallForHelp ()


CanRespawn[edit]

function bool CanRespawn ()

Overrides: U2NPCControllerShared.CanRespawn


CheckDestroyNPC[edit]

function bool CheckDestroyNPC ()


DeferTo[edit]

function bool DeferTo (Controller Other)

Overrides: U2NPCControllerBasic.DeferTo


FindSpecialAttraction[edit]

function bool FindSpecialAttraction ()

Overrides: U2NPCControllerBasic.FindSpecialAttraction


GetOrders[edit]

function name GetOrders ()

Overrides: U2NPCControllerBasic.GetOrders


GetOrdersObject[edit]

function Actor GetOrdersObject ()

Overrides: U2NPCControllerBasic.GetOrdersObject


GetRealOrders[edit]

function name GetRealOrders ()


GetShouldUseDeviousTactics[edit]

function bool GetShouldUseDeviousTactics (float BaseSkill, float BaseOdds)

Overrides: U2NPCControllerBasic.GetShouldUseDeviousTactics


HandleEnemyKilledSafe[edit]

function HandleEnemyKilledSafe (Controller Killer, Pawn KilledEnemy)

Overrides: U2NPCControllerBasic.HandleEnemyKilledSafe


HandleFriendlyBumps[edit]

function bool HandleFriendlyBumps ()

Overrides: U2NPCControllerShared.HandleFriendlyBumps


HandleHelpMessageFrom[edit]

function HandleHelpMessageFrom (Controller Other)

Overrides: Controller.HandleHelpMessageFrom


HandleHoldAtDestination[edit]

function HandleHoldAtDestination ()


InitPlayerReplicationInfo[edit]

function InitPlayerReplicationInfo ()

Overrides: Controller.InitPlayerReplicationInfo


InventoryReadyForAction[edit]

function bool InventoryReadyForAction ()


NotifyKilled[edit]

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

Overrides: U2NPCControllerBasic.NotifyKilled


PickLocalInventoryDestination[edit]

function bool PickLocalInventoryDestination (float MaxDist, float MinDistraction)


PreparedToHunt[edit]

function bool PreparedToHunt ()


ProcessOrders[edit]

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

Overrides: U2NPCControllerBasic.ProcessOrders


ProcessOrdersAttack[edit]

function bool ProcessOrdersAttack ()


ProcessOrdersDefend[edit]

function bool ProcessOrdersDefend (out Actor NewOrdersObject)


ReadyForAction[edit]

function bool ReadyForAction ()

Overrides: U2NPCController.ReadyForAction


ReadyForOrders[edit]

function bool ReadyForOrders ()

Overrides: U2NPCController.ReadyForOrders


Restart[edit]

function Restart ()

Overrides: U2NPCControllerBasic.Restart


RestoreRealOrders[edit]

function RestoreRealOrders ()


SendMessage[edit]

function SendMessage (PlayerReplicationInfo Recipient, name MessageType, byte MessageID, float Wait, name BroadcastType)

Overrides: Controller.SendMessage


SendMessageAcknowledgeOrders[edit]

function SendMessageAcknowledgeOrders (Controller OrderGiver, float Wait)


SendMessageInPosition[edit]

function SendMessageInPosition (float Wait)


SendMessageNearPoint[edit]

function SendMessageNearPoint (Pawn Point, float Wait)


SetAlertness[edit]

function SetAlertness (float NewAlertness)

Overrides: U2NPCControllerShared.SetAlertness


SetAttractionState[edit]

function SetAttractionState ()


SetDefense[edit]

function Actor SetDefense ()


SetOrders[edit]

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

Overrides: U2NPCControllerBasic.SetOrders


SetPeripheralVision[edit]

function SetPeripheralVision ()

Overrides: U2NPCControllerBasic.SetPeripheralVision


SetRealOrders[edit]

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


ShouldDeferTo[edit]

function bool ShouldDeferTo (Controller Other)

Overrides: U2NPCControllerBasic.ShouldDeferTo


ShouldFireWeapon[edit]

function bool ShouldFireWeapon (float Rating, bool bUseAltMode)

Overrides: U2NPCControllerAdvanced.ShouldFireWeapon


ShouldGiveUpHunting[edit]

function bool ShouldGiveUpHunting ()

Overrides: U2NPCControllerBasic.ShouldGiveUpHunting


SplashJump[edit]

function bool SplashJump ()

Overrides: U2NPCControllerBasic.SplashJump


TestCanJump[edit]

function bool TestCanJump ()

Overrides: U2NPCControllerBasic.TestCanJump


UpdateOrders[edit]

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

Overrides: U2NPCControllerAdvanced.UpdateOrders


UseTacticalJumps[edit]

function bool UseTacticalJumps ()

Overrides: U2NPCControllerBasic.UseTacticalJumps


WanderAfterFriendlyBumpExtra[edit]

function bool WanderAfterFriendlyBumpExtra ()

Overrides: U2NPCControllerBasic.WanderAfterFriendlyBumpExtra


WeaponPreference[edit]

function float WeaponPreference (Weapon W)

Overrides: Controller.WeaponPreference


WhatToDoNext[edit]

function WhatToDoNext ()

Overrides: U2NPCControllerBasic.WhatToDoNext


YellAt[edit]

function YellAt (Pawn Moron)

Overrides: U2NPCController.YellAt