Difference between revisions of "nearestLocationWithDubbing"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Add Arma 3 note)
m (Text replacement - "\[\[Category:ArmA 2: New Scripting Commands List\|{{uc:{{PAGENAME}}}}\]\]\s*" to "")
Line 36: Line 36:
  
 
<h3 style='display:none'>Bottom Section</h3>
 
<h3 style='display:none'>Bottom Section</h3>
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
+
 
 
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 19:34, 19 September 2019

Introduced with Arma 2 version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Find the nearest location having a non-empty speech.
Arma 3 logo black.png
No locations are dubbed in Arma 3.

Syntax

Syntax:
nearestLocationWithDubbing position
Parameters:
position: Object or Array in format PositionAGL or Position2D
Return Value:
Location

Examples

Example 1:
_location = nearestLocationWithDubbing player;
Example 2:
_location = nearestLocationWithDubbing getMarkerPos "myMarker";

Additional Information

See also:
findNearestEnemynearestBuildingnearestObjectnearestObjectsnearObjectsnearestLocationnearEntitiesnearTargetsnearSuppliesnearObjectsReadynearRoads

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section