Background for Skyrim SE
Member of the ObjectReference script
intfunctionGetCurrentDestructionStage()Native

Description

Wiki Description

Obtains the current destruction stage of the object.

Documentation Comment

Returns the object's current destruction stage


Caveats

CK Wiki - Notes

A completely undamaged object appears to have a destruction stage of -1.


Examples

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

Auto-Generated Example

int returnedValue = myObjectReference__toCallFunctionOn.GetCurrentDestructionStage()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.