A_LogFloat

From ZDoom Wiki
Jump to: navigation, search

void A_LogFloat (float whattoprint [, bool local)

Usage

Logs a floating-point value to the console and displays it on the screen.

Parameters

  • whattoprint: The floating-point value to log.
  • local: If true, the value is logged if the player is either looking out the calling actor's eyes, or the calling actor is the player and the player is looking out the eyes of a non-monster actor. Default is false.

Examples

Basic example: this logs the value 42.5.

SOUL A 6 A_LogFloat(42.5)

See also