Regular API function

simGetScriptHandleEx

Description Retrieves the handle of a script.
C/C++
synopsis
simInt simGetScriptHandleEx(simInt scriptType,simInt objectHandle,const simChar* scriptName)
C/C++
parameters
scriptType: the type of the script.
objectHandle: the object handle the script is attached to (in case of child- or customization scripts. Can be -1.
scriptName: the path of the object the script is attached to (in case of child- or customization scripts), or the name of the add-on. Can be NULL.
C/C++
return value
handle of the script, or -1 if the script does not exist.
Lua
synopsis
From Lua, call sim.getScript instead
Lua
parameters
Lua
return values
Python
synopsis
From Python, call sim.getScript instead