Regular API function


Description Returns the content of a script (i.e. Lua code). See also sim.setScriptText.
C synopsis const simChar* simGetScriptText(simInt scriptHandle)
C parameters
scriptHandle: handle of a script
C return value
pointer to the script buffer (0-terminated buffer), or NULL in case of an error
Lua synopsis -
Lua parameters
Lua return values

All regular API functions on one page