Regular API function
sim.broadcastMsg
Description
Broadcasts a message to all scripts, including the emitting script. Messages are received synchronously via the sysCall_msg
callback function
C/C++
synopsis
C/C++
parameters
C/C++
return value
Lua
synopsis
sim.broadcastMsg(map message,int options=0)
Lua
parameters
message: the message to broadcast. Best is to use following skeleton message: message={id='msgIdentifyingString',data={...}}
options: not used for now, keep at 0
Lua
return values
Python
synopsis
sim.broadcastMsg(dict message,int options=0)