Can we cancel events?

Description: Subforum dedicated to SMBX-38A - a fan-made remake of the original SMBX Engine, made by 5438A38A.
Forum rules: This is official Europan/American community for the SMBX-38A. Suggested to don't post stuff for this engine outside this subforum.
Moderators: Lx Xzit, Yoshi021, 5438A38A, TepigFan101, Moderators, Semi-moderatos

Ludwig_Koopa04 M
Topic author, Our friend
Our friend
Avatar
Ludwig_Koopa04 M
Topic author, Our friend
Our friend
Age: 14
Reputation: 6
Posts: 56
Joined: 16 Nov 2017

Post #1by Ludwig_Koopa04 » 1 Jul 2018, 21:26

Can we cancel events so the game doesn't trigger events if something happens?
SUBSCRIBE TO ME ON YOUTUBE:[url=https://www.youtube.com/channel/UCdwgBUMRx1RXVWCa1NYdeJg]https://www.youtube.com/channel/UCdwgBUMRx1RXVWCa1NYdeJg[/url]
JOIN TO MY DISCORD SERVER:[url=https://discord.gg/UHbVx23]https://discord.gg/UHbVx23[/url]
[url=https://wohlsoft.ru/forum/viewtopic.php?p=15922#p15922]https://wohlsoft.ru/forum/viewtopic.php?p=15922#p15922[img]https://i.imgur.com/nOjKwr1.png[/img][/url]

Lx Xzit M
Moderator
Moderator
Avatar
Lx Xzit M
Moderator
Moderator
Reputation: 191
Posts: 476
Joined: 9 Nov 2015
Website

Post #2by Lx Xzit » 2 Jul 2018, 0:58

Yes, use the command "TClear":

Code: Select all

if [condition] then
call tclear(0,"yourevent")
end if
VISIT MY YOUTUBE CHANNEL! LX XZIT
Join our 38A Discord server! CLICK HERE


Return to “Super Mario Bros. X by 38A (SMBX-38A)”