Regular API function

simGetScriptInt32Param / simGetScriptInt32Param

Description Retrieves an int32 parameter of a script. See also the other functions related to script parameters.
C/C++
synopsis
simInt simGetScriptInt32Param(simInt scriptHandle,simInt parameterID,simInt* parameter)
C/C++
parameters
scriptHandle: handle of the script
parameterID: identifier of the parameter to retrieve. See the list of all possible script parameters
parameter: retrieved parameter
C/C++
return value
-1 in case of an error, 0 if the parameter could not be retrieved, or 1 if operation was successful
Lua
synopsis
int parameter=simGetScriptInt32Param(int scriptHandle,int parameterID)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
parameter: retrieved parameter.
Python
synopsis
int parameter=simGetScriptInt32Param(int scriptHandle,int parameterID)

<