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