GetCurrentStackID - Utility
From Creation Kit
Member of: Utility Script
Obtains the stack ID of the currently running stack where this function is called.
int Function GetCurrentStackID() native debugOnly
The stack ID of the currently running stack
; Spit out a debug trace detailing the stack this was called on Debug.Trace("Called from stack: " + Utility.GetCurrentStackID())