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

UE2:Weapon instance functions (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Inventory >> Weapon (instance functions)
Weapon instance functions in other games:
RTNP, U1, UT, U2, UE2Runtime, UT2003, UT2004, UT3, UDK
Other member categories for this class:
internal variables

Instance functions[edit]

AltFire[edit]

simulated function AltFire ()


BringUp[edit]

simulated function BringUp ()


CanFire[edit]

function bool CanFire ()


ChangeAmmoType[edit]

simulated function ChangeAmmoType ()


ClearWeaponEffects[edit]

simulated function ClearWeaponEffects ()


ClientWeaponEvent[edit]

function ClientWeaponEvent (name EventType)


ClientWeaponSet[edit]

simulated function ClientWeaponSet (bool bOptionalSet)


DisplayDebug[edit]

simulated function DisplayDebug (Canvas Canvas, out float YL, out float YPos)

Overrides: Actor.DisplayDebug


DropFrom[edit]

function DropFrom (Object.Vector StartLocation)

Overrides: Inventory.DropFrom


Fire[edit]

simulated function Fire ()


GetAmmoAmount[edit]

simulated function int GetAmmoAmount ()


GetClipAmount[edit]

simulated function int GetClipAmount ()


GetClipSize[edit]

simulated function int GetClipSize ()


GetFireStart[edit]

simulated function Object.Vector GetFireStart (Object.Vector X, Object.Vector Y, Object.Vector Z)


GetMaxAmmo[edit]

simulated function int GetMaxAmmo ()


GetNumAmmoTypes[edit]

function int GetNumAmmoTypes ()


GetPreferCrouchingMultiplier[edit]

function float GetPreferCrouchingMultiplier ()


GetPreferProneMultiplier[edit]

function float GetPreferProneMultiplier ()


GetProjSpeed[edit]

function float GetProjSpeed (bool bAlt)


GiveAmmo[edit]

function GiveAmmo (Pawn Other)


GiveTo[edit]

function GiveTo (Pawn Other, optional bool bDontTryToSwitch)

Overrides: Inventory.GiveTo


HandlePickupQuery[edit]

function bool HandlePickupQuery (Pickup Item)

Overrides: Inventory.HandlePickupQuery


HasAmmo[edit]

simulated function bool HasAmmo ()


HasAnyAmmo[edit]

simulated function bool HasAnyAmmo ()


HasEnoughAmmo[edit]

function bool HasEnoughAmmo (int MinUses)


NeedsToReload[edit]

simulated function bool NeedsToReload ()


PlayAltFiring[edit]

simulated function PlayAltFiring ()


PlayFiring[edit]

simulated function PlayFiring ()


PlayIdleAnim[edit]

simulated function PlayIdleAnim ()


PlayReloading[edit]

simulated function PlayReloading ()


PlaySelect[edit]

simulated function PlaySelect ()


PostRecvOwner[edit]

simulated function PostRecvOwner ()

Overrides: Inventory.PostRecvOwner


PostRender[edit]

simulated function PostRender (Canvas Canvas)


ProcessTraceHit[edit]

function ProcessTraceHit (Actor Other, Object.Vector HitLocation, Object.Vector HitNormal, Object.Vector X, Object.Vector Y, Object.Vector Z)


ProjectileFire[edit]

function Projectile ProjectileFire (class<ProjectileProjClass)


PutDown[edit]

simulated function bool PutDown ()


RateSelf[edit]

function float RateSelf (Actor Target, out byte bUseAltMode)


RecommendWeapon[edit]

simulated function Weapon RecommendWeapon (Actor Target, out float Rating, out byte bUseAltMode)

Overrides: Inventory.RecommendWeapon


SetAmmoType[edit]

function bool SetAmmoType (int SelectionIndex)


SetAmmoTypeStr[edit]

function bool SetAmmoTypeStr (string AmmoTypeString)


setHand[edit]

simulated function setHand (float Hand)


ShouldSwitchWeapon[edit]

function bool ShouldSwitchWeapon (Weapon CurrentWeapon, bool bOptionalSet)


SnipingWeapon[edit]

function bool SnipingWeapon ()


SplashJump[edit]

function bool SplashJump ()


SuggestAttackStyle[edit]

function float SuggestAttackStyle (Actor Target)


SuggestDefenseStyle[edit]

function float SuggestDefenseStyle (Actor Target)


SuggestDuration[edit]

function float SuggestDuration (byte bUseAltMode)


SwitchPriority[edit]

simulated function float SwitchPriority ()


TraceFire[edit]

function TraceFire (float Accuracy)


TweenDown[edit]

simulated function TweenDown ()


UpdateAutoSwitchPriority[edit]

function UpdateAutoSwitchPriority (PlayerController PC)


WeaponChange[edit]

simulated function Weapon WeaponChange (byte F, Weapon CurrentChoice)

Overrides: Inventory.WeaponChange