Regular API function

simGetScriptProperty

Description Deprecated. See sim.getScriptInt32Param and sim.getScriptStringParam instead.
C/C++
synopsis
int simGetScriptProperty(int scriptHandle,int* scriptProperty,int* associatedObjectHandle)
C/C++
parameters
scriptHandle: handle of the script
scriptProperty: pointer to a script property value (see the script type values))
associatedObjectHandle: pointer to the handle of an associated object if script is a child script, -1 otherwise (if the child script doesn't have an associated object, the value is -1 also)
C/C++
return value
-1 if operation was not successful
Lua
synopsis
Lua
parameters
Lua
return values
Python
synopsis