Regular API function


Description Retrieves script handles. Use this in a loop where index starts at 0 and is incremented to get all script handles. See also sim.getScriptHandle.
C synopsis simInt simGetScript(simInt index)
C parameters
index: script index (not handle). First script is located at index 0
C return value
handle of a script if function was successful and a script exists at the given index, or -1 in case of an error
Lua synopsis
Lua parameters
Lua return values