setAttributes: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Reset ArmA version once again :))
(add. ArmA2 classification)
Line 37: Line 37:
[[Category:Scripting Commands OFP Elite |SETATTRIBUTES]]
[[Category:Scripting Commands OFP Elite |SETATTRIBUTES]]
[[Category:Scripting Commands ArmA|SETATTRIBUTES]]
[[Category:Scripting Commands ArmA|SETATTRIBUTES]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

Revision as of 18:18, 3 June 2009

-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