publicVariableServer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2") |
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Multiplayer |GROUP1= ") |
||
Line 5: | Line 5: | ||
|1.62|Game version= | |1.62|Game version= | ||
|gr1 = Multiplayer |GROUP1= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 13:26, 18 September 2020
Description
- Description:
- Send the variable value to the server - same limitations regarding variable type as publicVariable.
- Groups:
- Multiplayer
Syntax
Examples
- Example 1:
publicVariableServer "CTFscoreOne";
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
- Posted on 24 Aug, 2012
- Kylania
-
publicVariableServer (run on client)
publicVariableClient (run on server)
Publishers the variable (name as STRING) to the server only. Useful when you want to synchronize a variable with the server but not any other clients. - Rocket
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.62
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Multiplayer
- Arma 2: Operation Arrowhead: New Scripting Commands List
- Scripting Commands Arma 2
- Scripting Commands Arma 3