Always snap to grid

UE2:WeaponFire (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> Actor >> WeaponFire
Package: 
Engine
Direct subclasses:
InstantFire, BallTarget, SniperZoom, LinkFire, PainterFire, PainterZoom, ProjectileFire, ShieldFire, ShieldAltFire, TransRecall
This class in other games:
UT2004


Properties

Property group 'WeaponFire'

See WeaponFire property group WeaponFire.

Internal variables

bInstantStop

Type: bool


bIsFiring

Type: bool


bNowWaiting

Type: bool


bServerDelayStartFire

Type: bool


bServerDelayStopFire

Type: bool


FireCount

Type: int


NextFireTime

Type: float


ServerStartFireTime

Type: float


Default values

Property Value
bHidden True
RemoteRole ROLE_None
TransientSoundVolume 0.5

Enums

ESpreadStyle

SS_None 
SS_Random 
spread is max random angle deviation
SS_Line 
spread is angle between each projectile
SS_Ring 

Functions

Events

Destroyed

simulated event Destroyed ()

Overrides: Actor.Destroyed


ModeDoFire

event ModeDoFire ()


ModeHoldFire

event ModeHoldFire ()


ModeTick

event ModeTick (float dt)


PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Other instance functions

AdjustAim

function Object.Rotator AdjustAim (Object.Vector Start, float InAimError)


AllowFire

simulated function bool AllowFire ()


ClientPlayForceFeedback

function ClientPlayForceFeedback (string EffectName)


DestroyEffects

simulated function DestroyEffects ()


DisplayDebug

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

Overrides: Actor.DisplayDebug


DoFireEffect

function DoFireEffect ()


DrawMuzzleFlash

function DrawMuzzleFlash (Canvas Canvas)


FlashMuzzleFlash

function FlashMuzzleFlash ()


GetFireStart

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


InitEffects

simulated function InitEffects ()


IsFiring

function bool IsFiring ()


MaxRange

function float MaxRange ()


PlayFireEnd

function PlayFireEnd ()


PlayFiring

function PlayFiring ()


PlayPreFire

function PlayPreFire ()


PlayStartHold

function PlayStartHold ()


ServerPlayFiring

function ServerPlayFiring ()


ShakeView

function ShakeView ()


StartBerserk

function StartBerserk ()


StartFiring

function StartFiring ()


StartMuzzleSmoke

function StartMuzzleSmoke ()


StopBerserk

function StopBerserk ()


StopFiring

function StopFiring ()


StopForceFeedback

function StopForceFeedback (string EffectName)


Update

function Update (float dt)