text: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) (see also) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Creates a structured text containing the given plain text if argument is [[String]] | | Creates a structured text containing the given plain text if argument is [[String]]. Use [[setAttributes]] to set additional [[Structured_Text#Attributes | attributes]] on the image. If the argument is [[location]], returns location's text value (see Alt Syntax). |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 29: | Line 29: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[parseText]], [[composeText]], [[setText]], [[createLocation]], [[deleteLocation]], [[drawLocation]], [[locationPosition]], [[locationNull]], [[nearestLocation]], [[nearestLocations]], [[nearestLocationWithDubbing]], [[name]] |= See also | | [[parseText]], [[composeText]], [[image]], [[lineBreak]], [[setText]], [[createLocation]], [[deleteLocation]], [[drawLocation]], [[locationPosition]], [[locationNull]], [[nearestLocation]], [[nearestLocations]], [[nearestLocationWithDubbing]], [[name]] |= See also | ||
}} | }} |
Revision as of 20:59, 13 January 2019
Description
- Description:
- Creates a structured text containing the given plain text if argument is String. Use setAttributes to set additional attributes on the image. If the argument is location, returns location's text value (see Alt Syntax).
- Groups:
- Uncategorised
Syntax
- Syntax:
- text string
- Parameters:
- string: String
- Return Value:
- Structured Text
Alternative Syntax
Examples
- Example 1:
_stxt2 = text "Hello world.";
- Example 2:
_townName = text myTownLocation;
- Example 3:
_loc = text nearestLocation [position player, "NameMarine"]; //"Marina Bay"
Additional Information
- See also:
- parseTextcomposeTextimagelineBreaksetTextcreateLocationdeleteLocationdrawLocationlocationPositionlocationNullnearestLocationnearestLocationsnearestLocationWithDubbingname
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