nearestLocationWithDubbing
- Arma 3 v0.50
- First in Arma 2 v1.00
Command · Markdown · JSON · original wiki page
Description
Find the nearest location having a non-empty speech.
Note
Arma 3: No locations are dubbed in Arma 3.
Syntax
nearestLocationWithDubbing position
Parameters:
position: Object or PositionAGL or Position2D
Returns: Location
Examples
Example 1
_location = nearestLocationWithDubbing player;
Example 2
_location = nearestLocationWithDubbing getMarkerPos "myMarker";
See also
findNearestEnemy · nearestBuilding · nearestObject · nearestObjects · nearObjects · nearestLocation · nearEntities · nearTargets · nearSupplies · nearObjectsReady · nearRoads · nearestMines