formatText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Reset ArmA ver)
mNo edit summary
Line 36: Line 36:
[[Category:Scripting Commands OFP Elite |FORMATTEXT]]
[[Category:Scripting Commands OFP Elite |FORMATTEXT]]
[[Category:Scripting Commands ArmA|FORMATTEXT]]
[[Category:Scripting Commands ArmA|FORMATTEXT]]
[[Category:Command_Group:_Interaction|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Variables|{{uc:{{PAGENAME}}}}]]

Revision as of 06:34, 24 February 2007

-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
Return Value:
Structured Text

Examples

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

Additional Information

See also:
See also needed

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