Regular API function

simSetObjectInt32Parameter / sim.setObjectInt32Parameter

Description Sets an int32 parameter of a scene object. See also sim.getObjectInt32Parameter, sim.setObjectFloatParameter and sim.setObjectStringParameter
C synopsis simInt simSetObjectInt32Parameter(simInt objectHandle,simInt parameterID,simInt parameter)
C parameters
objectHandle: handle of the object
parameterID: identifier of the parameter to retrieve. See the list of all possible object parameter identifiers
parameter: parameter value
C return value
-1 in case of an error, 0 if the parameter could not be set (e.g. because the parameterID doesn't exist, or because the specified object doesn't correspond to the correct type), or 1 if the operation was successful
Lua synopsis sim.setObjectInt32Parameter(int objectHandle,int parameterID,int parameter)
Lua parameters
Similar to the C-function counterpart
Lua return values
Remote API equiv.
B0-based remote API: simxSetObjectIntParameter
Legacy remote API: simxSetObjectIntParameter