Log()
On this page
Log(message: Variant) -> voidWrite text to PCA’s runtime log, falling back to print when no runtime logger exists.
Returns: Void.
Log("Archive unlocked.")Warn()#
Warn(message: Variant) -> voidReport a Godot warning and a warning-tagged PCA log message.
Returns: Void.
Warn("Optional chime is missing.")ScriptError()#
ScriptError(message: Variant) -> voidReport a Godot error and an error-tagged PCA log message.
Returns: Void.
ScriptError("The puzzle setup is incomplete.")This logs; it does not throw a catchable GDScript exception.
PCAAssert()#
PCAAssert(condition: bool, message: String = "PCA3D script assertion failed.") -> boolReport a diagnostic when the condition is false.
Returns: The Boolean condition.
PCAAssert(5 > 0, "Points must be positive.")It is not an exception boundary. Native assert has separate debug-build behavior.
