serverNamespace: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Add details)
No edit summary
Line 15: Line 15:
|s1= [[serverNamespace]]
|s1= [[serverNamespace]]


|r1= [[Namespace]] on the server, [[Nothing]] on clients or in singleplayer.
|r1= [[Namespace]] on the server, [[Nothing]] on clients or in single-player.


|x1= <code>[[private]] _serverVars = [[allVariables]] [[serverNamespace]];</code>
|x1= <code>[[private]] _serverVars = [[allVariables]] [[serverNamespace]];</code>

Revision as of 20:42, 9 September 2021

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.06.

Description

Description:
Returns server's namespace. This namespace is only available on the server. Server event handlers, which are available in server config, all use this namespace.
Groups:
Variables

Syntax

Syntax:
serverNamespace
Return Value:
Namespace on the server, Nothing on clients or in single-player.

Examples

Example 1:
private _serverVars = allVariables serverNamespace;

Additional Information

See also:
missionNamespace setVariable getVariable allVariables

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