BIS fnc getServerVariable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 13: Line 13:
Fetch a variable saved on server.
Fetch a variable saved on server.
Used when you want to share variables only to specific clients to prevent large traffic.
Used when you want to share variables only to specific clients to prevent large traffic.
Must be called in scheduled environment because communication with server takes some time.
Must be called in [[Scheduler#Scheduled_Environment|scheduled environment]] because communication with server takes some time.


Parameter(s):
Parameter(s):

Revision as of 15:16, 20 June 2017


Hover & click on the images for description

Description

Description:
/*

	Description:
	Fetch a variable saved on server.
	Used when you want to share variables only to specific clients to prevent large traffic.
	Must be called in [[Scheduler#Scheduled_Environment|scheduled environment]] because communication with server takes some time.

	Parameter(s):
		0: NAMESPACE or OBJECT or GROUP - variable name space
		1: STRING - variable name
		2: ANY - default used when variable value is nil

	Returns:
	ANY - variable value
*/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

Additional Information

See also:
See also needed

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

Bottom Section