DamageObject - ObjectReference

Revision as of 13:54, 11 November 2011 by imported>Scornett (Reverted edits by Scornett-Bot (talk) to last revision by Rhavlovick)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: ObjectReference Script

Damages this object, which may fire off OnDestructionStageChanged events.

Syntax

Function DamageObject(float afDamage) native

Parameters

  • afDamage: How much damage to do to the object.

Return Value

None.

Examples

; Damages megaton
MegatonReference.DamageObject(200.0)

See Also