simInitScript

Initializes/reinitializes a script. Operates in an asynchronous way, and cannot be called from within the script being reinitialized

C++ synopsis

int simInitScript(int scriptHandle)

Arguments

  • scriptHandle: handle of the script to initialize/reinitialize

Return

  • -1 in case of an error