From Bohemia Interactive Community
- 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.
- Posted on April 21, 2015 - 18:08 (UTC)
- Benargee
- Example use of URL can be found in BIS_fnc_GUInewsfeed with the function browser.
- Posted on October 7, 2015 - 22:03 (UTC)
- Tupolov
-
(Arma 3) In order to use URLs, they must be included in CfgCommands -> allowedHTMLLoadURIs. In order to use URIs with params a wildcard * character is supported:
Script Example:
_newsOnline = "http://alivemod.com/alive_news.php?map=" + _map + "&mission=" + _mission + "&player=" + _player;
_ctrlHTML htmlLoad _newsOnline;
Config Example:
class CfgCommands {
allowedHTMLLoadURIs[] += {
"http://alivemod.com/alive_news.php*"
};
};