publicVariable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 23: Line 23:


'''Example:'''
'''Example:'''
'''publicVariable''' "CTFscoreOne"
'''publicVariable''' "CTFscoreOne"

Revision as of 03:11, 16 April 2006

publicVariable varName

Operand types:

varName: String

Type of returned value:

Nothing

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:

   * Number
   * Boolean
   * Object
   * Group

Example:

publicVariable "CTFscoreOne"