publicVariable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
[[Category:Scripting Commands ArmA|P]]
[[Category:Scripting Commands ArmA|P]]


back to [[Scripting_Reference#P|COMREF]]


<h2 style="color:#000066">'''publicVariable ''varName'''''</h2>
<h2 style="color:#000066">'''publicVariable ''varName'''''</h2>

Revision as of 12:10, 23 April 2006


publicVariable varName


Operand types:

varName: String

Type of returned value:

Nothing

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"