BIS fnc setServerVariable: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
||
Line 23: | Line 23: | ||
|x2= <code><nowiki>[</nowiki>[[player]], "playerHealth", [[damage]] [[player]]] [[call]] [[BIS_fnc_setServerVariable]];</code> | |x2= <code><nowiki>[</nowiki>[[player]], "playerHealth", [[damage]] [[player]]] [[call]] [[BIS_fnc_setServerVariable]];</code> | ||
| [[BIS_fnc_getServerVariable]], [[publicVariableServer]], [[publicVariableClient]] | |seealso= [[BIS_fnc_getServerVariable]], [[publicVariableServer]], [[publicVariableClient]] | ||
}} | }} | ||
Revision as of 00:36, 17 February 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Variables
Syntax
- Syntax:
- Syntax needed
- Parameters:
- namespace: Namespace or Object or Group - (Optional, default missionNamespace)
- varName: String - variable name
- value: Anything - variable value
- Return Value:
- Return value needed
Examples
- Example 1:
[nil, "playerHealth", damage player] call BIS_fnc_setServerVariable;
- Example 2:
[player, "playerHealth", damage player] call BIS_fnc_setServerVariable;
Additional Information
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