The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE3:SeqAct_ModifyHealth (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> SequenceObject >> SequenceOp >> SequenceAction >> SeqAct_ModifyHealth
Package: 
Engine


Properties[edit]

Property group 'SeqAct_ModifyHealth'[edit]

Amount[edit]

Type: float

Change in health

bFalloff[edit]

Type: bool

Whether amount should decay linearly based on distance from the target.

bHeal[edit]

Type: bool

If true, Amount will be healed

bRadial[edit]

Type: bool

If true, health change will be radial

DamageType[edit]

Type: class<DamageType>

Type of damage to apply

Momentum[edit]

Type: float

Amount of momentum to apply

Default value: 500.0

Radius[edit]

Type: float

Distance to Instigator within which to damage actors

Internal variables[edit]

Instigator[edit]

Type: Actor

Player that should take credit for the health change (Controller or Pawn)

Default values[edit]

Property Value
ObjCategory "Actor"
ObjName "Modify Health"
VariableLinks[1]
Member Value
ExpectedType Class'Engine.SeqVar_Float'
LinkDesc "Amount"
PropertyName 'Amount'
VariableLinks[2]
Member Value
ExpectedType Class'Engine.SeqVar_Object'
LinkDesc "Instigator"
PropertyName 'Instigator'

Static events[edit]

GetObjClassVersion[edit]

static event int GetObjClassVersion ()

Overrides: SequenceObject.GetObjClassVersion

Return the version number for this class. Child classes should increment this method by calling Super then adding a individual class version to the result. When a class is first created, the number should be 0; each time one of the link arrays is modified (VariableLinks, OutputLinks, InputLinks, etc.), the number that is added to the result of Super.GetObjClassVersion() should be incremented by 1.

Returns:

the version number for this specific class.