countUnknown: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (Text replacement - "|= Game name" to "|Game name=")
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| ofp |= Game name
| ofp |Game name=


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

Revision as of 04:09, 31 August 2019

Hover & click on the images for description

Description

Description:
Count how many units in the array are unknown to the given unit.
Groups:
Uncategorised

Syntax

Syntax:
unitName countUnknown arrayName
Parameters:
unitName: Object
arrayName: Array
Return Value:
Number

Examples

Example 1:
_num = player countUnknown list _triggerOne;

Additional Information

See also:
countFriendlycountEnemycountcountSidecountType

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