Regular API function

simGetInt32Parameter / sim.getInt32Parameter

Description Retrieves an integer value. See the integer parameter identifiers. See also sim.setInt32Parameter, sim.getBoolParameter, sim.getFloatParameter, sim.getArrayParameter and sim.getStringParameter.
C synopsis simInt simGetInt32Parameter(simInt parameter,simInt* intState)
C parameters
intState: value of the parameter
C return value
-1 if operation was not successful
Lua synopsis int parameterValue=sim.getInt32Parameter(int parameter)
Lua parameters
parameter: parameter identifier (sim_intparam_...)
Lua return values
parameterValue: value of the parameter
Remote API equiv.
B0-based remote API: simxGetIntParameter
Legacy remote API: simxGetIntegerParameter