publicVariableServer

From Bohemia Interactive Community
Revision as of 11:45, 28 February 2021 by R3vo (talk | contribs) (Text replacement - "Category:Arma 2: Operation Arrowhead: New Scripting Commands List" to "Category:Arma 2: Operation Arrowhead: New Scripting Commands")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Description needed
Groups:
MultiplayerVariables

Syntax

Syntax:
Syntax needed
Parameters:
varName: String
Return Value:
Return value needed

Examples

Example 1:
publicVariableServer "CTFscoreOne";

Additional Information

See also:
publicVariablepublicVariableClientaddPublicVariableEventHandler

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
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