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

UE2:Weapon instance functions (UE2Runtime)

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

Instance functions

AltFire

simulated function AltFire (float Value)


AmmoStatus

function float AmmoStatus ()


BotFire

function bool BotFire (bool bFinished, optional name FiringMode)


BringUp

simulated function BringUp (optional Weapon PrevWeapon)


CanAttack

function bool CanAttack (Actor Other)


CauseAltFire

function CauseAltFire ()


CheckAnimating

function CheckAnimating ()


ClientFinish

simulated function ClientFinish ()


ClientForceReload

simulated function ClientForceReload ()


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


DrawCrossHair

simulated function DrawCrossHair (Canvas Canvas)


DrawMuzzleFlash

simulated function DrawMuzzleFlash (Canvas Canvas)


DropFrom

function DropFrom (Object.Vector StartLocation)

Overrides: Inventory.DropFrom


Finish

function Finish ()


Fire

simulated function Fire (float Value)


FireHack

function FireHack (byte Mode)


FocusOnLeader

function bool FocusOnLeader (bool bLeaderFiring)


ForceReload

simulated function ForceReload ()


GetAIRating

function float GetAIRating ()


GetDamageRadius

function float GetDamageRadius ()


GetFireStart

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


GetRating

function float GetRating ()


GiveAmmo

function GiveAmmo (Pawn Other)


GiveTo

function GiveTo (Pawn Other)

Overrides: Inventory.GiveTo


HandlePickupQuery

function bool HandlePickupQuery (Pickup Item)

Overrides: Inventory.HandlePickupQuery


HasAmmo

simulated function bool HasAmmo ()


HolderDied

function HolderDied ()


IncrementFlashCount

simulated function IncrementFlashCount ()


IsFiring

function bool IsFiring ()


IsIdle

function bool IsIdle ()


LocalFire

simulated function LocalFire ()


NeedsToReload

simulated function bool NeedsToReload ()


NextWeapon

simulated function Weapon NextWeapon (Weapon CurrentChoice, Weapon CurrentWeapon)

Overrides: Inventory.NextWeapon


PlayFiring

simulated function PlayFiring ()


PlayIdleAnim

simulated function PlayIdleAnim ()


PlayPostSelect

simulated function PlayPostSelect ()


PlayReloading

simulated function PlayReloading ()


PlaySelect

simulated function PlaySelect ()


PrevWeapon

simulated function Weapon PrevWeapon (Weapon CurrentChoice, Weapon CurrentWeapon)

Overrides: Inventory.PrevWeapon


ProjectileFire

function ProjectileFire ()


PutDown

simulated function bool PutDown ()


RangedAttackTime

function float RangedAttackTime ()


RateSelf

simulated function float RateSelf ()


RecommendRangedAttack

function bool RecommendRangedAttack ()


RecommendSplashDamage

function bool RecommendSplashDamage ()


RecommendWeapon

simulated function Weapon RecommendWeapon (out float rating)

Overrides: Inventory.RecommendWeapon


RefireRate

function float RefireRate ()


RepeatFire

simulated function bool RepeatFire ()


ServerAltFire

function ServerAltFire ()


ServerFire

function ServerFire ()


ServerForceReload

function ServerForceReload ()


ServerRapidFire

function ServerRapidFire ()


ServerStopFiring

function ServerStopFiring ()


SetAITarget

function SetAITarget (Actor T)


setHand

simulated function setHand (float Hand)


SplashDamage

function bool SplashDamage ()


SplashJump

function bool SplashJump ()


SuggestAttackStyle

function float SuggestAttackStyle ()


SuggestDefenseStyle

function float SuggestDefenseStyle ()


SwitchPriority

simulated function float SwitchPriority ()


SwitchToWeaponWithAmmo

function SwitchToWeaponWithAmmo ()


TraceFire

function TraceFire (float Accuracy, float YOffset, float ZOffset)


TweenDown

simulated function TweenDown ()


WeaponChange

simulated function Weapon WeaponChange (byte F, bool bSilent)

Overrides: Inventory.WeaponChange


zoom

simulated function zoom ()