GMCommands

From HEWIKI
Jump to: navigation, search

GameMaster commands allow a way that a script function can be invoked from the console window. The way to do this varies, depending on whether the function is in a server-side script, or client-side.

Server-side

For server-side scripts, a GameMaster command can be created with the /REGISTER system, which links a specific GM command to a specific server script.

Client-side

For client-side scripts, the appropriate function can be invoked with the CALL console command. For example, to call the open() function in the client-side script HE_ControlPanelGUI (which would open the HeroEngine control panel in HeroBlade), use:

call HE_ControlPanelGUI open

Note: The word "script" can be used as a synonym for "call".

See also

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox