Regular API function

simGetCustomizationScriptAssociatedWithObject / sim.getCustomizationScriptAssociatedWithObject

Description Deprecated. See sim.getScript instead.
C/C++
synopsis
int simGetCustomizationScriptAssociatedWithObject(int objectHandle)
C/C++
parameters
objectHandle: handle of the object that might have a customization script associated
C/C++
return value
handle of the customization script associated with the object, or -1 if the operation was not successful or the object doesn't have an associated script
Lua
synopsis
int scriptHandle=sim.getCustomizationScriptAssociatedWithObject(int objectHandle)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Similar to the C-function counterpart