(info) This AI is still in early stages of development.

out.HOST

Outputs the message to the game host via in-game chat .

 

Notes

Uses chat() to output the message, sent directly to the host of the current game.

If the host player cannot be identified, the message will be output to out.CHAT instead.

If the chat() function is not available (pre-Warzone 3.2) the message will be output to out.CONSOLE instead.

If the self parameter is specified, the message will be prefixed with the filename and version defined in the Self Descriptor Object.

Example

out("hello", null, out.HOST); // sends "hello"
Availability STABLE

Requires:

See also

Related constants:

  • out.ASSERTAsserts whether config is truthy, and if not throws a game assert and a Javascript error...
  • out.CHATOutputs the message to allies of the script player via in-game chat.
  • out.CONSOLEOutput message to console().
  • out.DEBUGOutput message to debug().
  • out.DEFAULTOutputs the message via out.HOST or out.CONSOLE depending on Warzone version.
  • out.ERROROutputs the message as an exception.
  • out.HOSTOutputs the message to the game host via in-game chat .
  • out.RETURNReturns the message to the calling script.