BIS fnc getServerVariable: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
m (Text replacement - " |exec= call " to " ") |
||
Line 14: | Line 14: | ||
|p2= varName: [[String]] - Variable name | |p2= varName: [[String]] - Variable name | ||
|p3= default: [[Anything]] - Default value returned when variable is [[nil]] | |p3= default: [[Anything]] - Default value returned when variable is [[nil]] | ||
| [[Anything]] - Default value or saved variable | | [[Anything]] - Default value or saved variable | ||
Revision as of 15:50, 6 February 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Variables
Syntax
- Syntax:
- Syntax needed
- Parameters:
- target: Namespace, Object or Group - Variable name space
- varName: String - Variable name
- default: Anything - Default value returned when variable is nil
- Return Value:
- Return value needed
Examples
- Example 1:
[missionNamespace, "BIS_someVar", "defaultValue"] call BIS_fnc_getServerVariable;
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