What it does
NetworkMessageFloat reads from a Multiplayer object without changing it. It takes iMsgID (an integer), and answers a float. iMsgID is the id of a Msg object, obtained elsewhere in the Multiplayer family.
Syntax
NetworkMessageFloat(iMsgID integer) → floatParameters
| Name | Type |
|---|---|
| iMsgID | integer |
Every form returns
float
Example · generated
DO Print(NetworkMessageFloat(1)) Sync()LOOPNetworkMessageFloat is called and its answer is printed every frame. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.