CfgCommands – Arma 3

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Lou Montana moved page Arma 3 CfgCommands to Arma 3: CfgCommands: Text replacement - "^Arma 3 " to "Arma 3: ")
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{GVI|arma3|1.51|category}}
#REDIRECT [[Description.ext#CfgCommands]]
 
==== Description ====
Class contains a user-level list of configurations for scripting commands (currently only [[htmlLoad]]). Can be defined in [[Config.cpp]] or in campaign's or mission's [[Description.ext]]. The most local variant is used.
 
==== Format ====
class CfgCommands
{
        // A list of URIs supported by HTMLLoad
        // Note that in case of clients connected to dedicated server, restrictions defined in its config have priority.
        allowedHTMLLoadURIs[] = {
                "*.mywebsite.com", // strings support wildcards '*' and '?'
                "*.mywebsite2.com/something/*",
                ...
                "*.mywebsiteN.com",
        };
};
 
 
[[Category:Arma_3:_Editing]]

Latest revision as of 02:07, 30 December 2020