setAttributes

From Bohemia Interactive Community
Revision as of 20:50, 4 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


text setAttributes [name1, value1, name2, value2, ...]


Operand types:

text: String

[name1, value1, name2, value2, ...]: Array

Type of returned value:

Structured Text

Compatibility:

Version 2.01 required.

Description:

Returns a structured text created by the given structured or plain text by setting attributes to the given values.


Example:

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