Arma 3 Scripting

publicVariableClient

  • Arma 3 v0.50
  • First in Arma 2: Operation Arrowhead v1.62

Command · also in Variables · Markdown · JSON · original wiki page

Description

Send the variable value to the client computer - same limitations regarding variable type as publicVariable.

The Client ID is the temporary ID given to a connected client for that session. You can find out this ID with the owner command (using it on a player's character, for example, will give you that players client ID).

Note

Arma 3: In Arma 3 it is possible to broadcast nil value

Syntax

clientID publicVariableClient varName

Parameters:

Returns: Nothing

Examples

Example 1

3 publicVariableClient "CTFscoreOne";

See also

clientOwner · owner · publicVariable · publicVariableServer · addPublicVariableEventHandler · remoteExecutedOwner