setAttributes: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
m (VBS2 scripting category removal)
Line 38: Line 38:
[[Category:Scripting Commands ArmA|SETATTRIBUTES]]
[[Category:Scripting Commands ArmA|SETATTRIBUTES]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]

Revision as of 05:17, 19 July 2011

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