setAttributes: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (see also)
Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[composeText]] |= See also


}}
}}

Revision as of 09:23, 12 February 2017

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Returns a structured text created by the given structured or plain text by setting attributes to the given values.
Groups:
Uncategorised

Syntax

Syntax:
text setAttributes [name1, value1, name2, value2, ...]
Parameters:
text: String or Structured Text
[name1, value1, name2, value2, ...]: Array
Return Value:
Structured Text

Examples

Example 1:
txt = img setAttributes ["image", "data\iSoldier.paa"]

Additional Information

See also:
composeText

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

Posted on November 9, 2014 - 21:02 (UTC)
Killzone Kid
This command doesn't seem to work in Arma 3.