Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

eprint

From Quake Wiki

void eprint(entity e)

Usage[edit]

Prints information about the passed entity to the console. Useful for debugging.

Parameters[edit]

  • e
The entity to print information about.

Example[edit]

// Send out a debug message if an entity's target was invalid
if (self.target)
{
    entity targ = find(world, targetname, self.target);
    if (!targ)
    {
        eprint(self);
        dprint("Entity has an invalid target\n");
    }
}