GetCurrentStackID - Utility
Revision as of 12:54, 3 December 2015 by imported>Plplecuyer
Member of: Utility Script
Obtains the stack ID of the currently running stack where this function is called.
Syntax[edit | edit source]
int Function GetCurrentStackID() native debugOnly
Parameters[edit | edit source]
None.
Return Value[edit | edit source]
The stack ID of the currently running stack
Examples[edit | edit source]
; Spit out a debug trace detailing the stack this was called on
Debug.Trace("Called from stack: " + Utility.GetCurrentStackID())