text: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - " " to " ")
Line 24: Line 24:


|r2= [[String]]
|r2= [[String]]
 
 
|x1= <code>_stxt2 = [[text]] "Hello world.";</code>
|x1= <code>_stxt2 = [[text]] "Hello world.";</code>



Revision as of 21:12, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
LocationsStringsStructured Text

Syntax

Syntax:
Syntax needed
Parameters:
string: String
Return Value:
Return value needed

Alternative Syntax

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

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