htmlLoad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(format, see also)
No edit summary
Line 23: Line 23:




| [[loadFile]], [[preprocessFile]], [[preprocessFileLineNumbers]] |= See also
| [[loadFile]], [[preprocessFile]], [[preprocessFileLineNumbers]], [[ctrlHTMLLoaded]] |= See also


}}
}}

Revision as of 22:07, 8 September 2014

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Load HTML from file to given control. File path is relative to current mission dir or an absolute path (with drive letter etc.).
Groups:
Uncategorised

Syntax

Syntax:
control htmlLoad filename
Parameters:
control: Control
filename: String
Return Value:
Nothing

Examples

Example 1:
_control htmlLoad "briefing.html";

Additional Information

See also:
loadFilepreprocessFilepreprocessFileLineNumbersctrlHTMLLoaded

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

Posted on September 7, 2014 - 18:02 (UTC)
BrotherhoodOfHam

htmlLoad works with URL's as well as html files.
Posted on September 7, 2014 - 19:35 (UTC)
Killzone Kid
While surprisingly htmlLoad does work with URLs as pointed above, the operation is blocking, meaning the whole game will freeze until the operation is complete. Therefore it is not recommended to use this command in such way.