|
|
Line 1: |
Line 1: |
| {{Command|= Comments
| | #REDIRECT [[name]] |
| ____________________________________________________________________________________________
| |
| | |
| | arma |= Game name
| |
| | |
| |1.08|= Game version
| |
| | |
| |arg= |= Arguments in MP
| |
| | |
| |eff= |= Effects in MP
| |
| ____________________________________________________________________________________________
| |
| | |
| | Returns the location's name. |= Description
| |
| ____________________________________________________________________________________________
| |
| | |
| | '''name''' location |= Syntax
| |
| | |
| |p1= location: [[Location]] |= Parameter 1
| |
| | |
| | [[String]] |= Return value
| |
| ____________________________________________________________________________________________
| |
|
| |
| |x1= <code>_locationName = [[name]] myLocation;</code> |= Example 1
| |
| |x2= <code>[[name]] [[nearestLocation]] <nowiki>[</nowiki>[[position]] [[player]], "Hill"]; //""
| |
| [[text]] [[nearestLocation]] <nowiki>[</nowiki>[[position]] [[player]], "Hill"]; //"Lesnoy Khrebet"</code> |= Example 2
| |
| ____________________________________________________________________________________________
| |
| | |
| | [[name]], [[createLocation]], [[deleteLocation]], [[drawLocation]], [[locationPosition]], [[locationNull]], [[nearestLocation]], [[nearestLocations]], [[nearestLocationWithDubbing]], [[setName]] |= See also
| |
| | |
| }}
| |
| | |
| <h3 style="display:none">Notes</h3>
| |
| <dl class="command_description">
| |
| <!-- Note Section BEGIN -->
| |
| | |
| <dt class="note">'''[[User:kju|kju]]'''
| |
| <dd class="note">Appears to be only for the 3d editor.
| |
| | |
| <!-- Note Section END -->
| |
| </dl>
| |
| | |
| <h3 style="display:none">Bottom Section</h3>
| |
| | |
| | |
| [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
| |
| [[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
| |
| [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
| |
| [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
| |
| [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
| |
| [[Category:Command_Group:_Locations|{{uc:{{PAGENAME}}}}]]
| |
| [[Category:Command_Group:_Editor_Control|{{uc:{{PAGENAME}}}}]]
| |
| | |
| <!-- CONTINUE Notes -->
| |
| <dl class="command_description">
| |
| <dd class="notedate">Posted on May 17, 2015 - 18:20 (UTC)</dd>
| |
| <dt class="note">[[User:Bull A|Bull A]]</dt>
| |
| <dd class="note">
| |
| To return the textual name of a location use [[text_location | text]] command instead
| |
| </dd>
| |
| </dl>
| |
| <!-- DISCONTINUE Notes -->
| |