I'm a doctor, not a mechanic

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

AltFire

simulated function AltFire ()


BringUp

simulated function BringUp ()


CanFire

function bool CanFire ()


ChangeAmmoType

simulated function ChangeAmmoType ()


ClearWeaponEffects

simulated function ClearWeaponEffects ()


ClientWeaponEvent

function ClientWeaponEvent (name EventType)


ClientWeaponSet

simulated function ClientWeaponSet (bool bOptionalSet)


DisplayDebug

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

Overrides: Actor.DisplayDebug


DropFrom

function DropFrom (Object.Vector StartLocation)

Overrides: Inventory.DropFrom


Fire

simulated function Fire ()


GetAmmoAmount

simulated function int GetAmmoAmount ()


GetClipAmount

simulated function int GetClipAmount ()


GetClipSize

simulated function int GetClipSize ()


GetFireStart

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


GetMaxAmmo

simulated function int GetMaxAmmo ()


GetNumAmmoTypes

function int GetNumAmmoTypes ()


GetPreferCrouchingMultiplier

function float GetPreferCrouchingMultiplier ()


GetPreferProneMultiplier

function float GetPreferProneMultiplier ()


GetProjSpeed

function float GetProjSpeed (bool bAlt)


GiveAmmo

function GiveAmmo (Pawn Other)


GiveTo

function GiveTo (Pawn Other, optional bool bDontTryToSwitch)

Overrides: Inventory.GiveTo


HandlePickupQuery

function bool HandlePickupQuery (Pickup Item)

Overrides: Inventory.HandlePickupQuery


HasAmmo

simulated function bool HasAmmo ()


HasAnyAmmo

simulated function bool HasAnyAmmo ()


HasEnoughAmmo

function bool HasEnoughAmmo (int MinUses)


NeedsToReload

simulated function bool NeedsToReload ()


PlayAltFiring

simulated function PlayAltFiring ()


PlayFiring

simulated function PlayFiring ()


PlayIdleAnim

simulated function PlayIdleAnim ()


PlayReloading

simulated function PlayReloading ()


PlaySelect

simulated function PlaySelect ()


PostRecvOwner

simulated function PostRecvOwner ()

Overrides: Inventory.PostRecvOwner


PostRender

simulated function PostRender (Canvas Canvas)


ProcessTraceHit

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


ProjectileFire

function Projectile ProjectileFire (class<ProjectileProjClass)


PutDown

simulated function bool PutDown ()


RateSelf

function float RateSelf (Actor Target, out byte bUseAltMode)


RecommendWeapon

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

Overrides: Inventory.RecommendWeapon


SetAmmoType

function bool SetAmmoType (int SelectionIndex)


SetAmmoTypeStr

function bool SetAmmoTypeStr (string AmmoTypeString)


setHand

simulated function setHand (float Hand)


ShouldSwitchWeapon

function bool ShouldSwitchWeapon (Weapon CurrentWeapon, bool bOptionalSet)


SnipingWeapon

function bool SnipingWeapon ()


SplashJump

function bool SplashJump ()


SuggestAttackStyle

function float SuggestAttackStyle (Actor Target)


SuggestDefenseStyle

function float SuggestDefenseStyle (Actor Target)


SuggestDuration

function float SuggestDuration (byte bUseAltMode)


SwitchPriority

simulated function float SwitchPriority ()


TraceFire

function TraceFire (float Accuracy)


TweenDown

simulated function TweenDown ()


UpdateAutoSwitchPriority

function UpdateAutoSwitchPriority (PlayerController PC)


WeaponChange

simulated function Weapon WeaponChange (byte F, Weapon CurrentChoice)

Overrides: Inventory.WeaponChange