Cogito, ergo sum

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[edit]

Property group 'WeaponFire'[edit]

See WeaponFire property group WeaponFire.

Internal variables[edit]

bInstantStop[edit]

Type: bool


bIsFiring[edit]

Type: bool


bNowWaiting[edit]

Type: bool


bServerDelayStartFire[edit]

Type: bool


bServerDelayStopFire[edit]

Type: bool


FireCount[edit]

Type: int


NextFireTime[edit]

Type: float


ServerStartFireTime[edit]

Type: float


Default values[edit]

Property Value
bHidden True
RemoteRole ROLE_None
TransientSoundVolume 0.5

Enums[edit]

ESpreadStyle[edit]

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

Functions[edit]

Events[edit]

Destroyed[edit]

simulated event Destroyed ()

Overrides: Actor.Destroyed


ModeDoFire[edit]

event ModeDoFire ()


ModeHoldFire[edit]

event ModeHoldFire ()


ModeTick[edit]

event ModeTick (float dt)


PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Other instance functions[edit]

AdjustAim[edit]

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


AllowFire[edit]

simulated function bool AllowFire ()


ClientPlayForceFeedback[edit]

function ClientPlayForceFeedback (string EffectName)


DestroyEffects[edit]

simulated function DestroyEffects ()


DisplayDebug[edit]

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

Overrides: Actor.DisplayDebug


DoFireEffect[edit]

function DoFireEffect ()


DrawMuzzleFlash[edit]

function DrawMuzzleFlash (Canvas Canvas)


FlashMuzzleFlash[edit]

function FlashMuzzleFlash ()


GetFireStart[edit]

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


InitEffects[edit]

simulated function InitEffects ()


IsFiring[edit]

function bool IsFiring ()


MaxRange[edit]

function float MaxRange ()


PlayFireEnd[edit]

function PlayFireEnd ()


PlayFiring[edit]

function PlayFiring ()


PlayPreFire[edit]

function PlayPreFire ()


PlayStartHold[edit]

function PlayStartHold ()


ServerPlayFiring[edit]

function ServerPlayFiring ()


ShakeView[edit]

function ShakeView ()


StartBerserk[edit]

function StartBerserk ()


StartFiring[edit]

function StartFiring ()


StartMuzzleSmoke[edit]

function StartMuzzleSmoke ()


StopBerserk[edit]

function StopBerserk ()


StopFiring[edit]

function StopFiring ()


StopForceFeedback[edit]

function StopForceFeedback (string EffectName)


Update[edit]

function Update (float dt)