publicVariableServer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(New command missing from the wiki.)
 
(description, note formatting)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Send the variable value to the server.  Only type [[Number]] is supported in versions 1.33 and before.  The following types are supported since 1.34:  [[Number]], [[Boolean]], [[Object]] and [[Group]]. |= Description   
| Send the variable value to the server - same limitations regarding variable type as [[publicVariable#Description|publicVariable]]. |= Description   


____________________________________________________________________________________________
____________________________________________________________________________________________
Line 29: Line 29:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on 24 Aug, 2012
<dt class="note">[[User:Kylania|Kylania]]<dd class="note">
publicVariableServer (run on client)<BR>
publicVariableServer (run on client)<BR>
publicVariableClient (run on server)<BR>
publicVariableClient (run on server)<BR>

Revision as of 10:50, 30 August 2012

Hover & click on the images for description

Description

Description:
Send the variable value to the server - same limitations regarding variable type as publicVariable.
Groups:
Uncategorised

Syntax

Syntax:
publicVariableServer varName
Parameters:
varName: String
Return Value:
Nothing

Examples

Example 1:
publicVariableServer "CTFscoreOne";

Additional Information

See also:
publicVariablepublicVariableClient

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