Background for Fallout 4
Member of the Utility script
intfunctionGetCurrentStackID()NativeGlobalDebugOnly

Description

Wiki Description

Obtains the stack ID of the currently running stack where this function is called.

Documentation Comment

Obtains the ID number of the current running stack


Caveats


Examples

; Spit out a debug trace detailing the stack this was called on
Debug.Trace("Called from stack: " + Utility.GetCurrentStackID())

Auto-Generated Example

int returnedValue = Utility.GetCurrentStackID()

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.