Description
Return a unique object variable. The variable is preserved after unit respawn.
Syntax
[object, varNameRoot] call BIS_fnc_objectVar
Parameters:
object: ObjectvarNameRoot: String - (Optional, default "bis_o") - variable name root - a number will be added behind it
Returns: String - generated variable name
Examples
Example 1
hint str (player call BIS_fnc_objectVar); // "bis_o1"
hint str (player == (missionNamespace getVariable "bis_o1")); // true