image: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ") |
Lou Montana (talk | contribs) m (Text replacement - "<dt class="note">([^<>]+) " to "<dt class="note">$1</dt> ") |
||
Line 30: | Line 30: | ||
<dd class="notedate">Posted on March 21, 2009</dd> | <dd class="notedate">Posted on March 21, 2009</dd> | ||
<dt class="note">[[User:Spooner|Spooner]] | <dt class="note">[[User:Spooner|Spooner]]</dt> | ||
<dd class="note">Although there is a dedicated [[image]] command, [[parseText]] gives more options: | <dd class="note">Although there is a dedicated [[image]] command, [[parseText]] gives more options: | ||
<code>_imageText = [[parseText]] "<img size='5' color='#ff0000' image='fish.paa'/>"</code> | <code>_imageText = [[parseText]] "<img size='5' color='#ff0000' image='fish.paa'/>"</code> |
Revision as of 01:29, 30 January 2021
Description
- Description:
- Description needed
- Groups:
- StringsGUI ControlStructured Text
Syntax
- Syntax:
- Syntax needed
- Parameters:
- filename: String
- Return Value:
- Return value needed
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
- 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