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, Moderators, Semi-moderatos

Ludwig_Koopa04 M
Topic author, Our friend
Our friend
Avatar
Ludwig_Koopa04 M
Topic author, Our friend
Our friend
Age: 15
Reputation: 11
Posts: 69
Joined: 16 Nov 2017
Location: Osterburken,Germany
Google+ Twitter YouTube

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

Can we cancel events so the game doesn't trigger events if something happens?
[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: 219
Posts: 500
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
[size=100][b]VISIT MY YOUTUBE CHANNEL![/b] [url=https://www.youtube.com/channel/UC_AcXEExdYtaydxcCVPSGoQ]LX XZIT[/url][/size]
[size=100]Join our 38A Discord server! [url= https://discord.gg/7hCmNBE]CLICK HERE[/url][/size]


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

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest