BIS_fnc_objectVar

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

Description

Description:
/*

	Description:
	Return an unique object variable.
	The variable is preserved after unit respawn.

	Parameter(s):
		0: OBJECT
		1 (Optional): STRING - variable name (number will be added behind it)

	Returns:
	STRING
*/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Example 1:
hint str (player call BIS_fnc_objectVar); //"BIS_fnc_objectVar_obj1"
hint str (player == (missionNamespace getVariable "BIS_fnc_objectVar_obj1")); //true

See also:

netIdobjectFromNetId

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section