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

out.CONSOLE

Output message to console().

 

Notes

Uses console() to output a message. As such, only the player associated with the script will see the console message.

You can switch to that player using the Debug Menu to see their console messages. However, only messages sent to the console after you switch to the player will be seen, any messages sent prior to you switching to the player will no longer be visible.

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.CONSOLE); // "hello" sent to console of player 'me'
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.