LocateFunc
Category: Developer
Since engine version: 4.9.7.0 CR
Description
Logs the path of the file where the specified function has been loaded from and also shows overrides. Furthermore functions of objects can be searched via specifying pObj or if pObj is nil they can be searched in a definition by specifiyng idDefinition.
Syntax
bool LocateFunc
(string szFunctionName, object pObj, id idDefinition);
Parameters
- szFunctionName:
Parameters of the function
- pObj:
[opt]
Object in which to search for the function.
- idDefinition:
[opt]
If pObj equals nil, an ID can be specified to tell in which definition the function should be searched.
Fulgen / Clonk Wiki, Juli 2016