- Main Menu
Network Messages allow you to create unique script events that are transferred between the server and its clients. These events will then show at the top of the event list in the Script Editor.
Display Name - is used to identify the Network Message in the editor.
Scripting ID - is used to identify the Network Message through scripting.
Description - a brief summary of what the Network Message does.
Icon (32×32) - a 32×32 image to make it easier to identify your Network Message in the event list.
Server can send this to clients - when ticked, this will allow the server to execute this script on connected client machines.
Clients can send this to server - when ticked, this will allow connected client machines to execute this script on the server.
Guaranteed delivery (TCP) - when ticked, Network Messages will use reliable TCP to communicate with the client/server. When unticked, Network Messages will instead use the less reliable, but faster, UDP to communicate with the client/server - with a fall back mechanism to use TCP if UDP is unavailable.
By clicking “Add” and “Remove”, you can control which parameters will be available when the Network Message is used. These parameters can also be named separately to identify them using the “Variable Name” text box. An optional tooltip will display for said parameter if the “Tooltip Description” text box is filled. These parameters include:
Displays a standard text box field where you can type in letters, numbers and other characters.
Similar to “Text”, except you are provided with a text box with multiple lines. This provides spaces for a lot more text to be displayed.
Similar to “Text”, except you can use it to display just numbers.
Displays a directional dial where you can select angles from 0 to 359.
Displays a panel where you can select between eight different cardinal directions: “Right”, “Right-Down”, “Down”, “Left-Down”, “Left”, “Left-Up”, “Up” and “Right-Up”.
Displays a standard Windows color window where you can choose from different swatches or define your own color using RGB values.
Similar to “Color”, except it also includes a transparency slider.
Similar to “Text”, except you can enter X, Y and Z coordinates.
Displays two radio buttons that you can choose between. When setting up the script, refer to the parameters as either 0 or 1 as indicated.
Displays a sliding bar between the minimum and maximum values. The value will be set to whatever is specified in the “Default” text box.