entities: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 47: Line 47:
<dt class="note">[[User:MisterGoodson|MisterGoodson]]</dt>
<dt class="note">[[User:MisterGoodson|MisterGoodson]]</dt>
<dd class="note">
<dd class="note">
<code>entities "CAManBase"</code> does not include entities inside vehicles.
In A3 1.62 <code>entities "CAManBase"</code> does not include entities inside vehicles (crew).
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->
<!-- DISCONTINUE Notes -->

Revision as of 00:38, 13 July 2016

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

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