User Tools

Site Tools


print

This is an old revision of the document!


Print


Prints data to the debug console, for example to display the value of a property or validate that a script is running by logging a message.

Signature:

print(data)
ArgumentDescriptionTypeRequired
dataData to be printed to the debug console.String, Decimal, BooleanYes

You can use the related Show Group function to show the entities in a group that were previously hidden with the Hide Group function.

Example:

print("Player coordinate: ${player.coord}")

Results: The player character's tile coordinate will be displayed in the debug console.

Use the Hide Group function to hide the ceiling of a room or the upper layers of a structure that would otherwise obstruct the player's vision when entering the underlying area.


Editor Node:

Visual Demo:

print.1572027934.txt.gz · Last modified: 2019/10/25 11:25 by justin