Background for Fallout 4
Member of the ObjectReference script
voidfunctionDamageObject(floatafDamage)Native

Description

Wiki Description

Damages this object, which may fire off OnDestructionStageChanged events.

Documentation Comment

Damages this object and advances the destruction stage - does not return until the object is damaged


Caveats


Parameters

floatafDamage

CK Wiki Description

How much damage to do to the object.


Examples

; Damages megaton
MegatonReference.DamageObject(200.0)

Auto-Generated Example

float myFloat__afDamage

myObjectReference__toCallFunctionOn.DamageObject(myFloat__afDamage)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.