Tile - YDebug - Debug Mode – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:


'''boolean'''
'''boolean'''
=== Availability ===
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Custom Controller|Custom Controller]]


=== Description ===
=== Description ===
Line 22: Line 26:
----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 14:26, 24 November 2023

Debug Mode()

YlandsTile-495.png

static isDebugMode(): boolean;

Returns

boolean

Availability

Client, Server, Custom Controller

Description

Allows creators to have Conditional Statements that allow debug methods that only run during testing.

Notes

  • Returns TRUE when the custom game is tested within the editor and FALSE when it is run as a published game from the main menu.