Always snap to grid

UE2:U2NPCControllerAdvanced instance functions (U2XMP)

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

Instance functions[edit]

AddWeaponTimers[edit]

function AddWeaponTimers ()


AllowPickupWeaponSwitch[edit]

function bool AllowPickupWeaponSwitch (Weapon Self, float CurrentRating, float PendingRating)

Overrides: AIController.AllowPickupWeaponSwitch


ChangedWeapon[edit]

function ChangedWeapon ()

Overrides: Controller.ChangedWeapon


CheckCurrentWeapon[edit]

function CheckCurrentWeapon ()


CheckCurrentWeaponTimer[edit]

final function CheckCurrentWeaponTimer ()


EnemyAcquired[edit]

function EnemyAcquired ()

Overrides: U2NPCControllerBasic.EnemyAcquired


FireAt[edit]

function FireAt (Actor A)

Overrides: U2NPCControllerBasic.FireAt


FireShot[edit]

function FireShot (byte bUseAltMode)

Overrides: U2NPCControllerBasic.FireShot


GetAttackRating[edit]

function float GetAttackRating (Pawn Other)

Overrides: U2NPCControllerShared.GetAttackRating


GetAttackStyle[edit]

function float GetAttackStyle (Actor TargetActor)

Overrides: U2NPCControllerBasic.GetAttackStyle


GetCurrentFireRate[edit]

function float GetCurrentFireRate ()

Overrides: U2NPCControllerBasic.GetCurrentFireRate


GetDefenseStyle[edit]

function float GetDefenseStyle (Actor TargetActor)

Overrides: U2NPCControllerBasic.GetDefenseStyle


GetFireRating[edit]

function float GetFireRating ()

Overrides: U2NPCControllerShared.GetFireRating


GetNumWeapons[edit]

function int GetNumWeapons ()

Overrides: U2NPCController.GetNumWeapons


GetReactionToEnemy[edit]

function AIController.EReaction GetReactionToEnemy (Pawn EnemyPawn)

Overrides: U2NPCControllerBasic.GetReactionToEnemy


GetSpecifiedFireRate[edit]

function float GetSpecifiedFireRate (bool bPrimary)

Overrides: U2NPCControllerBasic.GetSpecifiedFireRate


HasInstantHitAttack[edit]

function bool HasInstantHitAttack ()

Overrides: U2NPCControllerBasic.HasInstantHitAttack


IsFiring[edit]

function bool IsFiring ()

Overrides: U2NPCControllerBasic.IsFiring


IsPreparedToFire[edit]

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

Overrides: U2NPCControllerBasic.IsPreparedToFire


NotifyAddInventory[edit]

function NotifyAddInventory (Inventory AddedItem)

Overrides: Controller.NotifyAddInventory


NotifyRemoveInventory[edit]

function NotifyRemoveInventory (Inventory RemovedItem)

Overrides: Controller.NotifyRemoveInventory


RefreshWeapon[edit]

function RefreshWeapon (name WeaponName)

Overrides: U2NPCController.RefreshWeapon


ResetGlobalAISettings[edit]

function ResetGlobalAISettings ()

Overrides: U2NPCControllerBasic.ResetGlobalAISettings


SelectBestWeapon[edit]

function SelectBestWeapon ()


SelectBestWeaponTimer[edit]

function SelectBestWeaponTimer ()


SetAmmoTypeStr[edit]

function bool SetAmmoTypeStr (string AmmoString)

Overrides: U2NPCControllerScriptable.SetAmmoTypeStr


ShouldFireWeapon[edit]

function bool ShouldFireWeapon (float Rating, bool bUseAltMode)


ShouldSwitchToBestWeapon[edit]

function bool ShouldSwitchToBestWeapon (float Rating, bool bUseAltMode)


SplashDamageAttack[edit]

function bool SplashDamageAttack ()

Overrides: U2NPCControllerBasic.SplashDamageAttack


StopFiring[edit]

function StopFiring (float SuggestedFireAgainDelay, Controller.EStopFiringInfo SFInfo)

Overrides: U2NPCControllerBasic.StopFiring


SupportsWeapon[edit]

function bool SupportsWeapon (Weapon W, array<nameWeaponsList)


SupportsWeaponAltFire[edit]

function bool SupportsWeaponAltFire (Weapon W)

Overrides: U2NPCController.SupportsWeaponAltFire


SupportsWeaponFire[edit]

function bool SupportsWeaponFire (Weapon W)

Overrides: U2NPCController.SupportsWeaponFire


TrySplashDamageAttack[edit]

function bool TrySplashDamageAttack ()

Overrides: U2NPCControllerBasic.TrySplashDamageAttack


UpdateOrders[edit]

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

Overrides: U2NPCControllerBasic.UpdateOrders