Mod:Creation Kit/GetCurrentDestructionStage - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Obtains the current destruction stage of the object.

Syntax
int Function GetCurrentDestructionStage native

Parameters
None.

Return Value
The object's current destruction stage.

Examples
if (MegatonReference.GetCurrentDestructionStage >= 2) Debug.Trace("Wow, you've really beat that town up!") endIf
 * Has megaton hit stage 2 destruction yet?