BIS fnc isUnitVirtual: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | arma 3 |= Game name | ||
|1.00|= Game version | |1.00|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Return if unit is virtual (used for example for Zeus players).|= Description | ||
____________________________________________________________________________________________ | |||
| [object] call [[BIS_fnc_isUnitVirtual]] |= Syntax | |||
____________________________________________________________________________________________ | |||
|p1= object: [[Object]] - Object to be turned into virtual unit|= Parameter 1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Boolean]] - [[True]] if virtual unit|= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>_isVirtual = someObject [[call]] [[BIS_fnc_isUnitVirtual]];</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[BIS_fnc_initVirtualUnit]] |= See also | ||
}} | }} | ||
Revision as of 10:37, 31 May 2018
Description
- Description:
- Return if unit is virtual (used for example for Zeus players).
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [object] call BIS_fnc_isUnitVirtual
- Parameters:
- object: Object - Object to be turned into virtual unit
- Return Value:
- Boolean - True if virtual unit
Examples
- Example 1:
_isVirtual = someObject call BIS_fnc_isUnitVirtual;
Additional Information
- See also:
- BIS_fnc_initVirtualUnit
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