Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE3:UTSeqAct_DummyWeaponFire (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 06:24, 17 January 2010 by (Talk)

Jump to: navigation, search
UDK Object >> SequenceObject >> SequenceOp >> SequenceAction >> SeqAct_Latent >> UTSeqAct_DummyWeaponFire
Package: 
UTGame
This class in other games:
UT3

spawns a ghost to magically fire a weapon for cinematics

Note: no replication, expected to execute completely clientside

Properties

Property group 'UTSeqAct_DummyWeaponFire'

bSuppressSounds

Type: bool

if set, weapon doesn't play any sounds

FireMode

Type: byte

which fire mode to use

MaxSpread

Type: Object.Rotator

how far off the target shots can be

Origin

Type: Actor

actor where the weapon fire is coming from

ShotsToFire

Type: int

number of shots to fire, <= 0 for shoot forever

Default value: 1

Target

Type: Actor

target actor for the weapon fire

WeaponClass

Type: class<UTWeapon>

class of weapon to fire

Internal variables

DummyPawn

Type: UTDummyPawn

dummy pawn used to fire the weapon

ShotsFired

Type: int

number of shots fired so far

Default values

Property Value
bAutoActivateOutputLinks False
bCallHandler False
InputLinks[0]
Member Value
LinkDesc "Start Firing"
InputLinks[1]
Member Value
LinkDesc "Stop Firing"
ObjCategory "Cinematic"
ObjName "Dummy Weapon Fire"
OutputLinks[0]
Member Value
LinkDesc "Out"
OutputLinks[1]
Member Value
LinkDesc "Finished"
OutputLinks[2]
Member Value
LinkDesc "Stopped"
VariableLinks[0]
Member Value
LinkDesc "Origin"
MaxVars 1
PropertyName 'Origin'
VariableLinks[1]
Member Value
ExpectedType Class'Engine.SeqVar_Object'
LinkDesc "Target"
MaxVars 1
PropertyName 'Target'

Functions

Events

Activated

event Activated ()

Overrides: SequenceOp.Activated

Called when this event is activated.

Update

event bool Update (float DeltaTime)

Overrides: SeqAct_Latent.Update

(Description copied from SeqAct_Latent.Update)
script tick interface the action deactivates when this function returns false and LatentActors is empty

Returns:

whether the action needs to keep ticking

Other instance functions

NotifyDummyFire

function NotifyDummyFire ()

notification that the dummy pawn has fired a shot