BIS fnc getUnitByUID: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| playerUID call [[BIS_fnc_getUnitByUid]] |SYNTAX= | | playerUID call [[BIS_fnc_getUnitByUid]] |SYNTAX= | ||
|p1= playerUID: [[String]] - see [[getPlayerUID]] |= | |p1= playerUID: [[String]] - see [[getPlayerUID]] |PARAMETER1= | ||
| [[Object]] - the unit controlled by ''playerUID'' player |RETURNVALUE= | | [[Object]] - the unit controlled by ''playerUID'' player |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_unitPlayedByUID550055 = "550055" [[call]] [[BIS_fnc_getUnitByUid]];</code> |= | |x1= <code>_unitPlayedByUID550055 = "550055" [[call]] [[BIS_fnc_getUnitByUid]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:30, 7 April 2019
Description
- Description:
- Returns object belonging to given player UID
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- playerUID call BIS_fnc_getUnitByUid
- Parameters:
- playerUID: String - see getPlayerUID
- Return Value:
- Object - the unit controlled by playerUID player
Examples
- Example 1:
_unitPlayedByUID550055 = "550055" call BIS_fnc_getUnitByUid;
Additional Information
- See also:
- getPlayerUID
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