DamageObject - ObjectReference

From the CreationKit Wiki
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)
Jump to navigation Jump to search

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