entities: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(format)
(seealso)
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[nearEntities]], [[allUnits]], [[vehicles]], [[agents]] |= SEEALSO  
| [[nearEntities]], [[allUnits]], [[vehicles]], [[agents]], [[allMissionObjects]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 23:47, 25 October 2015

Hover & click on the images for description

Description

Description:
Returns a list of all dead or alive entities with given type.
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