Function
EN
Version 4.00
@GetThreadID
List
Misc
Text
Syntax
@GetThreadID;
@GetThreadID(FNTYPEOFTASKID);
Description
Returns the ThreadID (FN) of the thread whose script executes this @Function.
The optional parameter FN FNTYPEOFTASKID determines whether the operating-system ThreadID or the Engine-internal TaskID (shown, for example, by "show task" on the server console) is returned.
If the parameter is not specified, 0 is assumed.
0 = OS-ThreadID (default)
1 = Engine-TaskID
Example: @GetThreadID
@LogReport(@Text(@GetThreadID));
outputs the ThreadID of the thread in the APILog.
Note : This text was machine-translated and may contain inaccuracies.
