publicVariable
Jump to navigation
Jump to search
publicVariable varName
Operand types:
varName: String
Type of returned value:
Compatibility:
Changed in version 1.34
Description:
Broadcast variable value to all computers.
Only type Number is supported in version 1.33 and before.
Following Types are supported since version 1.34:
Example:
publicVariable "CTFscoreOne"
Note:
This command broadcasts a variable to all clients, but as soon as you change the variable again, you have to use publicVariable again, as it does not automatically synchronise it.