User Tools

Site Tools


print

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
print [2019/10/26 12:46] justinprint [2021/04/21 18:40] (current) justin
Line 5: Line 5:
  
 ====Signature:==== ====Signature:====
-<code python>+<code>
 print(data) print(data)
 </code> </code>
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-|data|Data to be printed to the debug console.|[[String]], [[Decimal]], [[Boolean]]|Yes|+|data|Data to be printed to the debug console.|[[String]], [[Number]], [[Boolean]]|Yes|
  
 <WRAP center round info 100%> <WRAP center round info 100%>
Line 17: Line 17:
  
 ====Example:==== ====Example:====
-<code python+<code bauxite
-print("Player is at coordinate ${player.coord}")+print("Player is at coordinate ${player.coord}");
 </code> </code>
 //Results:// The player character's tile coordinate will be displayed in the debug console. //Results:// The player character's tile coordinate will be displayed in the debug console.
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Hide Group** function to hide the ceiling of room or the upper layers of a structure that would otherwise obstruct the player's vision when entering the underlying area.+Use the **Print** function to debug script that isn't working properly by logging a text message or the value of a property to the console.
 </WRAP> </WRAP>
  
print.1572119165.txt.gz · Last modified: 2019/10/26 12:46 by justin