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: Yoshi021, Lx Xzit, 5438A38A, Semi-moderatos, Moderators

ThatEricGuy M
Topic author, Close friend
Close friend
Avatar
ThatEricGuy M
Topic author, Close friend
Close friend
Age: 15
Reputation: 11
Posts: 86
Joined: 16 Nov 2017
Location: Osterburken,Germany
Google+ Twitter YouTube

Post #1by ThatEricGuy » 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: 254
Posts: 578
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!

Image


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

Who is online (over the past 5 minutes)

Users browsing this forum: 2 guests