- publicVariableServer (run on client)
- publicVariableClient (run on server)
Publishes the variable (name as String) to the server only. Useful when you want to synchronise a variable with the server but not any other clients. -
Command in Multiplayer, Variables
Also available as Markdown and JSON, or read the original wiki page.
Send the variable value to the server - same limitations regarding variable type as publicVariable.
Note
Arma 3: In Arma 3 it is possible to broadcast the nil value.
publicVariableServer varName
Parameters:
varName: StringReturns: Nothing
publicVariableServer "CTFscoreOne";
publicVariable · publicVariableClient · addPublicVariableEventHandler
Publishes the variable (name as String) to the server only. Useful when you want to synchronise a variable with the server but not any other clients. -