image: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|p1= *([^ ]+) +\| *(\[\[.+) +\|x1=" to "|p1= $1 |r1= $2 |x1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 22: | Line 22: | ||
|gr3= Structured Text | |gr3= Structured Text | ||
| Creates a structured text containing the given image. Use [[setAttributes]] to set additional [[Structured_Text#Attributes | attributes]] on the image. | |descr= Creates a structured text containing the given image. Use [[setAttributes]] to set additional [[Structured_Text#Attributes | attributes]] on the image. | ||
|s1= '''image''' filename | |s1= '''image''' filename |
Revision as of 21:11, 13 June 2021
Description
- Description:
- Creates a structured text containing the given image. Use setAttributes to set additional attributes on the image.
- Groups:
- StringsGUI ControlStructured Text
Syntax
- Syntax:
- image filename
- Parameters:
- filename: String
- Return Value:
- Structured Text
Examples
- Example 1:
hint composeText ["Image: ", image "\a3\Data_f\Flags\flag_Altis_co.paa"];
- Example 2:
hint str (composeText ["Image: ", image "\a3\Data_f\Flags\flag_Altis_co.paa"] == parseText "Image: <img image='\a3\Data_f\Flags\flag_Altis_co.paa'/>"); // true
Additional Information
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