I don't need to test my programs. I have an error-correcting modem.

UE3:UTSeqAct_DummyWeaponFire (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> SequenceObject >> SequenceOp >> SequenceAction >> SeqAct_Latent >> UTSeqAct_DummyWeaponFire
Package: 
UTGame
This class in other games:
UDK

spawns a ghost to magically fire a weapon for cinematics

Note: no replication, expected to execute completely clientside

Properties[edit]

Property group 'UTSeqAct_DummyWeaponFire'[edit]

bSuppressSounds[edit]

Type: bool

if set, weapon doesn't play any sounds

FireMode[edit]

Type: byte

which fire mode to use

MaxSpread[edit]

Type: Object.Rotator

how far off the target shots can be

Origin[edit]

Type: Actor

actor where the weapon fire is coming from

ShotsToFire[edit]

Type: int

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

Default value: 1

Target[edit]

Type: Actor

target actor for the weapon fire

WeaponClass[edit]

Type: class<UTWeapon>

class of weapon to fire

Internal variables[edit]

DummyPawn[edit]

Type: UTDummyPawn

dummy pawn used to fire the weapon

ShotsFired[edit]

Type: int

number of shots fired so far

Default values[edit]

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
MinVars 1
PropertyName 'Target'

Functions[edit]

Events[edit]

Activated[edit]

event Activated ()

Overrides: SequenceOp.Activated

Called when this event is activated.

Update[edit]

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

NotifyDummyFire[edit]

function NotifyDummyFire ()

notification that the dummy pawn has fired a shot