DamageObject - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Damages this object, which may fire off OnDestructionStageChanged events.

Syntax[edit | edit source]

Function DamageObject(float afDamage) native

Parameters[edit | edit source]

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

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Damages megaton
MegatonReference.DamageObject(200.0)

See Also[edit | edit source]