Description
|
Deprecated. See sim.setScriptStringParam instead. |
C/C++ synopsis
|
simInt simSetScriptText(simInt scriptHandle,const simChar* scriptText)
|
C/C++ parameters |
scriptHandle: handle of a script
scriptText: pointer to a script buffer (0-terminated buffer). This function will copy the buffer content, so that it can immediately be released after this call
|
C/C++ return value
|
-1 if operation was not successful
|
Lua synopsis
|
sim.setScriptText(int scriptHandle,string scriptText) |
Lua parameters |
Similar to the C-function counterpart
|
Lua return values
|
|
Python synopsis |
sim.setScriptText(int scriptHandle,string scriptText) |