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

out.DEFAULT

Outputs the message via out.HOST or out.CONSOLE depending on Warzone version.

 

Notes

This constant defines the default output method used for out().

In Warzone 3.2 or above, out.HOST will be used.

In Warzone 3.1, out.CONSOLE will be used.

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"); // outputs "hello" using default method
Availability STABLE

Requires:

See also

Related constants:

  • out.ASSERT — Asserts whether config is truthy, and if not throws a game assert and a Javascript error...
  • out.CHAT — Outputs the message to allies of the script player via in-game chat.
  • out.CONSOLE — Output message to console().
  • out.DEBUG — Output message to debug().
  • out.DEFAULT — Outputs the message via out.HOST or out.CONSOLE depending on Warzone version.
  • out.ERROR — Outputs the message as an exception.
  • out.HOST — Outputs the message to the game host via in-game chat .
  • out.RETURN — Returns the message to the calling script.

Â