publicVariableServer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dd class="notedate">" to " <dt><dt> <dd class="notedate">")
m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "")
Line 24: Line 24:


<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<dt><dt>
<dt><dt>
<dd class="notedate">Posted on 24 Aug, 2012</dd>
<dd class="notedate">Posted on 24 Aug, 2012</dd>
Line 33: Line 32:
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. - [http://forums.bistudio.com/showthread.php?136494-ARMA-2-OA-beta-build-94209-(1-60-MP-compatible-build-post-1-60-release)&p=2179795&viewfull=1#post2179795 Rocket]
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. - [http://forums.bistudio.com/showthread.php?136494-ARMA-2-OA-beta-build-94209-(1-60-MP-compatible-build-post-1-60-release)&p=2179795&viewfull=1#post2179795 Rocket]


<!-- Note Section END -->
</dl>
</dl>



Revision as of 00:42, 6 April 2021

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