entities: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(units in vehicles are ignored)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns a list of all dead or alive entities with given type. |= Description
| Returns a list of all dead or alive entities with given type. Units in vehicles are ignored.|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 00:04, 13 July 2016

Hover & click on the images for description

Description

Description:
Returns a list of all dead or alive entities with given type. Units in vehicles are ignored.
Groups:
Uncategorised

Syntax

Syntax:
entities type
Parameters:
type: String
Return Value:
Array

Examples

Example 1:
_allcars = entities "Car";

Additional Information

See also:
nearEntitiesallUnitsvehiclesagentsallMissionObjects

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

Posted on Mar 27, 2014 - 20:26
ffur2007slx2_5
In ArmA3 ver 1.14 type (string) can be any children class under configfile >> "CfgVehicles". e.g.entities "All"; //or entities "CAManBase"; etc.

Bottom Section

Posted on July 12, 2016 - 22:37 (UTC)
MisterGoodson
In A3 1.62 entities "CAManBase" does not include entities inside vehicles (crew).