text location: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (arma2 + 3 category)
(see also, example)
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_townName = text myTownLocation</pre> |= Example 1
|x1= <code>_townName = [[text]] myTownLocation;</code> |= Example 1
 
|x2= <code>_loc = [[text]] [[nearestLocation]] <nowiki>[</nowiki>[[position]] [[player]], "NameMarine"]; //"Marina Bay"</code> |= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[setText]] |= See also
| [[setText]], [[createLocation]], [[deleteLocation]], [[drawLocation]], [[locationPosition]], [[locationNull]], [[nearestLocation]], [[nearestLocations]], [[nearestLocationWithDubbing]], [[name location]] |= See also


}}
}}

Revision as of 22:18, 17 May 2015

-wrong parameter ("Arma") defined!-1.08
Hover & click on the images for description

Description

Description:
Returns a location's text value.
Groups:
Uncategorised

Syntax

Syntax:
text location
Parameters:
location: Location
Return Value:
String

Examples

Example 1:
_townName = text myTownLocation;
Example 2:
_loc = text nearestLocation [position player, "NameMarine"]; //"Marina Bay"

Additional Information

See also:
setTextcreateLocationdeleteLocationdrawLocationlocationPositionlocationNullnearestLocationnearestLocationsnearestLocationWithDubbingname location

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

Bottom Section