simSetStringSignal

Sets the value of a string signal. A signal created in a child script, a customization script or in the main script is automatically cleared when the script ends

C++ synopsis

int simSetStringSignal(const char* signalName, const char* signalValue, int stringLength)

Arguments

  • signalName: name of the signal
  • signalValue: value of the signal (which may contain any value, including embedded zeros)
  • stringLength: size of the string value

Return

  • -1 if operation was not successful


See also: