OnEvent (Autocode)
Jump to navigation
Jump to search
Note: This command is available at the TheXTech engine version 1.3.6+ only.
OnEvent is a TheXTech-only autocode command, which executes autocode when triggering an SMBX/TheXTech event.
Prototype
OnEvent,-,-,Boolean for once, Event #, Length, TheXTech Event
Example
// When the event name "Triggered Event" executes, trigger Event #1000
OnEvent,0,0,1,1000,0,Triggered Event