setAttributes: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
[[Category:Scripting Commands OFP Elite |SETATTRIBUTES]]
[[Category:Scripting Commands OFP Elite |SETATTRIBUTES]]
[[Category:Scripting Commands ArmA|SETATTRIBUTES]]
[[Category:Scripting Commands ArmA|SETATTRIBUTES]]
<new command not populated>





Revision as of 23:24, 2 July 2006


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


Operand types:

text: Text or 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"]