Skip to main content

Miscellaneous

Events for miscellaneous operations such as comments, threads, and system functions.

Actions​

Comment​

Allows you to leave notes within your scripts. Provides no functionality in-game. The text you type automatically gets set in the event title, so you can collapse the comment and still read its content.
Comment
Text...

Display FPS​

Display FPS on a corner of the screen on the text plane.
Display FPS
Enabled

Log Message​

Prints a debug log on the console. Useful for debugging.
Log Message
Text...

Render Memory Info​

Render the memory information on the current invoke time on the text plane.
Render Memory Info
Render the memory information on the current invoke time on the text plane.

Debug​

Profiler Section Start​

Start measuring CPU cycles for a custom profiler section. Must have a matching Profiler Section End with the same name.
Profiler Section Start
Name
Section Name

Profiler Section End​

Stop measuring CPU cycles for a custom profiler section. Must have a matching Profiler Section Start with the same name.
Profiler Section End
Name
Section Name

Setup​

Event Group​

Allows you to group together parts of your script for organizational purposes.
Event Group
Add Event

Threads​

Thread Start​

Run a script in another thread.
Thread Start
Thread Handle
$Variable0
Run In Background
Add Event
  • Thread Handle: The handle for the thread you want to stop.

Thread Stop​

Stop a thread based on the selected thread handle.
Thread Stop
Thread Handle
$Variable0
  • Thread Handle: The handle for the thread you want to stop.

Advanced​

Inline C Code​

Insert raw C code directly into the compiled output. Use with caution — no validation beyond basic syntax checks is performed.
Inline C Code
C Code
  • C Code: Raw C code to inject into the compiled output.
caution

This event injects raw C code directly into the compiled output. The editor performs basic syntax checks (mismatched parentheses, braces, brackets, and missing semicolons) but does not validate the code beyond that. Incorrect code will cause compilation errors. Use this event only if you are familiar with C and the engine's internal API.