setAttributes: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
(command works, see also)
Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[composeText]] |= See also
| [[composeText]], [[parseText]], [[text]] |= See also


}}
}}
Line 42: Line 42:


<!-- CONTINUE Notes -->
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on November 9, 2014 - 21:02 (UTC)</dd>
<dt class="note">[[User:Killzone Kid|Killzone Kid]]</dt>
<dd class="note">
This command doesn't seem to work in Arma 3.
</dd>
</dl>
<!-- DISCONTINUE Notes -->
<!-- DISCONTINUE Notes -->

Revision as of 19:28, 13 January 2019

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

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