BIS fnc objectVar: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Function|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.00|= Game version ________________...") |
Killzone Kid (talk | contribs) (example) |
||
Line 31: | Line 31: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>[[hint]] [[str]] ([[player]] [[call]] [[BIS_fnc_objectVar]]; //"BIS_fnc_objectVar_obj1"<br>[[hint]] [[str]] ([[player]] == BIS_fnc_objectVar_obj1); //true</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[netId]], [[objectFromNetId]]|= See also | ||
}} | }} |
Revision as of 12:28, 2 April 2015
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)- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Example 1:
hint str (player call BIS_fnc_objectVar; //"BIS_fnc_objectVar_obj1"
hint str (player == BIS_fnc_objectVar_obj1); //true
Additional Information
- See also:
- netIdobjectFromNetId
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