AGIWiki/trace.on

From ScummVM :: Wiki
< AGIWiki
Revision as of 20:02, 21 April 2013 by Sact (talk | contribs)
Jump to navigation Jump to search


AGIWiki


The trace.on activates trace mode.

trace.on();

Trace mode must be enabled (by setting flag f10, or trace_enabled) for this command to work. Trace mode can also be activated if the player presses the SCROLL LOCK key on the keyboard.

The trace mode window can be configured using the trace.info command.

Once trace mode has been activated, it can only be deactivated by the player pressing the SCROLL LOCK key.

Parameters

This command does not take any parameters.

Possible errors

  • If the flag f10 (trace_enabled) is not set, this command will not work.

Examples

trace.on();

See also