BIS fnc isUnitVirtual: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (pf)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma 3 |= Game name


|1.00|= Game version
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Return if unit is virtual (used for example for Zeus players).|= Description
____________________________________________________________________________________________


Description:
| [object] call [[BIS_fnc_isUnitVirtual]] |= Syntax
Return if unit is virtual (used for example for Zeus players)
____________________________________________________________________________________________
 
Parameter(s):
0: OBJNULL
 
Returns:
BOOL
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p1= object: [[Object]] - Object to be turned into virtual unit|= Parameter 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_isUnitVirtual]]; --> |= Syntax
| [[Boolean]] - [[True]] if virtual unit|= Return value
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>_isVirtual = someObject [[call]] [[BIS_fnc_isUnitVirtual]];</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[BIS_fnc_initVirtualUnit]] |= See also
 
}}
}}



Revision as of 11:37, 31 May 2018

Hover & click on the images for description

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

Notes

Bottom Section