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

Legacy:DestroyableObjective

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 18:40, 22 November 2004 by Foogod (Talk) (Added UT2004 info)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT2003 :: Actor >> NavigationPoint >> JumpDest >> JumpSpot >> GameObjective >> DestroyableObjective
UT2004 :: Actor >> NavigationPoint >> JumpDest >> JumpSpot >> GameObjective >> DestroyableObjective

A DestroyableObjective must be attacked and damaged to disable it.

Note about bots: Bots do a "ranged attack" on a DestroyableObjectve, meaning they'll sit the moment they see it and start firing no matter how far away they are. This may not be the kind of assault you want the bots to do, as they completely ignore any enemies they see or damage they get while firing.

Editable Properties[edit]

int DamageCapacity 
Total amount of damage that must be inflicted on this objective to disable it.
name TakeDamageEvent 
Event fired whenever this objective takes damage.
int DamageEventThreshold 
If set, the event specified in TakeDamageEvent is only fired when the given amount of damage is taken (as opposed to "whenever any amount of damage is taken").

Known Subclasses[edit]