formatText

From Bohemia Interactive Community
Revision as of 20:52, 30 June 2015 by Killzone Kid (talk | contribs) (format, see also)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Creates a structured text by replacing %1, %2, etc. in format with plain or structured texts given as arguments.
Groups:
Uncategorised

Syntax

Syntax:
formatText [format, arg1, arg2, ...]
Parameters:
[format, arg1, arg2, ...]: Array
format: String
args: Anything
Return Value:
Structured Text

Examples

Example 1:
_text = formatText ["Image: %1", image "data\isniper.paa"];

Additional Information

See also:
formatcomposeTexttextparseText

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