Regular API function
simSetScriptInt32Param / sim.setScriptInt32Param
Description
|
Sets an int32 parameter of a script. See also the other functions related to script parameters.
|
C/C++ synopsis
|
simInt simSetScriptInt32Param(simInt scriptHandle,simInt parameterID,simInt parameter)
|
C/C++ parameters |
scriptHandle: handle of the script
parameter: parameter value
|
C/C++ return value
|
-1 in case of an error, 0 if the parameter could not be set, or 1 if operation was successful
|
Lua synopsis
|
sim.setScriptInt32Param(int scriptHandle,int parameterID,int parameter)
|
Lua parameters |
Similar to the C-function counterpart
|
Lua return values
|
|
Python synopsis |
sim.setScriptInt32Param(int scriptHandle,int parameterID,int parameter) |
|