setAttributes: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
| text '''setAttributes''' [name1, value1, name2, value2, ...] |= Syntax
| text '''setAttributes''' [name1, value1, name2, value2, ...] |= Syntax


|p1= text: [[String]] |= Parameter 1
|p1= text: [[String]] or [[Structured Text]] |= Parameter 1


|p2= [name1, value1, name2, value2, ...]: [[Array]] |= Parameter 2
|p2= [name1, value1, name2, value2, ...]: [[Array]] |= Parameter 2

Revision as of 14:01, 1 June 2016

-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:
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

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