BIS fnc setServerVariable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " +" to " ")
Line 25: Line 25:
|seealso= [[BIS_fnc_getServerVariable]], [[publicVariableServer]], [[publicVariableClient]]
|seealso= [[BIS_fnc_getServerVariable]], [[publicVariableServer]], [[publicVariableClient]]
}}
}}


[[Category:{{Name|arma3}}: Functions|{{uc:setServerVariable}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:setServerVariable}}]]

Revision as of 00:35, 11 June 2021

Hover & click on the images for description

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:
Boolean - true when done

Examples

Example 1:
[nil, "playerHealth", damage player] call BIS_fnc_setServerVariable;
Example 2:
[player, "playerHealth", damage player] call BIS_fnc_setServerVariable;

Additional Information

See also:
BIS_fnc_getServerVariablepublicVariableServerpublicVariableClient

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