formatText

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Armed Assault version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

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

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

Multiplayer:
-
See also:
formatcomposeTexttextparseText

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section