nearestLocationWithDubbing: Difference between revisions
Jump to navigation
Jump to search
(add. ArmA2 classification) |
Lou Montana (talk | contribs) (Add Arma 3 note) |
||
(8 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|Comments= | |||
____________________________________________________________________________________________ | |||
| arma2 |Game name= | |||
|1.00|Game version= | |||
____________________________________________________________________________________________ | |||
| Find the nearest location having a non-empty speech. | |||
{{Feature Arma3|No locations are dubbed in {{arma3}}.}}|Description= | |||
____________________________________________________________________________________________ | |||
| [[nearestLocationWithDubbing]] position |Syntax= | |||
|p1= position: [[Object]] or [[Array]] in format [[PositionAGL]] or [[Position2D]] |PARAMETER1 = | |||
| [[Location]] |RETURNVALUE= | |||
|x1= <code>_location = [[nearestLocationWithDubbing]] [[player]];</code>|EXAMPLE1= | |||
|x2= <code>_location = [[nearestLocationWithDubbing]] [[getMarkerPos]] "myMarker";</code>|EXAMPLE2= | |||
____________________________________________________________________________________________ | |||
| [[findNearestEnemy]], [[nearestBuilding]], [[nearestObject]], [[nearestObjects]], [[nearObjects]], [[nearestLocation]], [[nearEntities]], [[nearTargets]], [[nearSupplies]], [[nearObjectsReady]], [[nearRoads]] |SEEALSO= | |||
| |MPBEHAVIOUR= | |||
}} | |||
<h3 style='display:none'>Notes</h3> | |||
<dl class='command_description'> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<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 Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Command_Group:_Locations]] |
Revision as of 17:57, 17 March 2019
Description
- Description:
- Find the nearest location having a non-empty speech. Template:Feature Arma3
- Groups:
- Uncategorised
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
-
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