Regular API function


Description Sets a string parameter. See also simGetStringParameter, simSetBoolParameter, simSetArrayParameter, simSetFloatParameter and simSetInt32Parameter.
C synopsis simInt simSetStringParameter(simInt parameter,const simChar* stringState)
C parameters
stringState: new state for the parameter
C return value
1 if operation was successful. -1 if parameter is not known
Lua synopsis number result=simSetStringParameter(number parameter,string stringState)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page