The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
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.
- 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").
- DestroyableObjective_SM (UT2004)