NPC Talk event without a message [SOLVED]

Description: Internal scripting system of SMBX-38A Engine based on the simple VB-like language
Moderators: Lx Xzit, Yoshi021, 5438A38A, Semi-moderatos, Moderators

Super Mario Player M
Topic author, Duke
Duke
Avatar
Super Mario Player M
Topic author, Duke
Duke
Age: 21
Reputation: 29
Posts: 141
Joined: 23 Jun 2016
Location: Planet Earth
Youtube channel URL Tencent QQ

Post #1by Super Mario Player » 28 May 2019, 0:15

Hey there :hi:
I've been wondering if there's a way, using TeaScript and/or other means, to trigger an NPC's Talk Event, without setting them up to say anything (i.e. leaving the Message box blank):
Spoiler
Image

If there's no such way, then how could I re-create the Talk event of that NPC (i.e. trigger an event whenever the player gets close by and presses a certain key), in a way as convenient as possible? I've had the idea of using liquids (with liquid type Event Once or Event Always), but I could not come up with a way to do that which was not tedious, that did not involve a ton of variables or scripts, etc.

Thanks in advance! :) ;-)

Side note: I'm making this post there, rather than the Script requests subforum, because I'm not asking for a precise script, but simply for a method to trigger or re-create an event. If a moderator believes this post belongs elsewhere, they may move it there, and I apologize if that post feels out of place.
Last edited by Super Mario Player on 15 Jul 2020, 15:10, edited 1 time in total.
My current project:
Spoiler
The Tower of Challenges

Languages (for PMs):

Image

YouTube channel:
Image
Image

Void
Bat
Bat
Avatar
Void
Bat
Bat
Age: 21
Reputation: 102
Posts: 279
Joined: 18 Apr 2014
Location: [REDACTED]

Post #2by Void » 24 Mar 2020, 20:45

Super Mario Player wrote:Hey there :hi:
I've been wondering if there's a way, using TeaScript and/or other means, to trigger an NPC's Talk Event, without setting them up to say anything (i.e. leaving the Message box blank):
Spoiler
Image

If there's no such way, then how could I re-create the Talk event of that NPC (i.e. trigger an event whenever the player gets close by and presses a certain key), in a way as convenient as possible? I've had the idea of using liquids (with liquid type Event Once or Event Always), but I could not come up with a way to do that which was not tedious, that did not involve a ton of variables or scripts, etc.

Thanks in advance! :) ;-)

Side note: I'm making this post there, rather than the Script requests subforum, because I'm not asking for a precise script, but simply for a method to trigger or re-create an event. If a moderator believes this post belongs elsewhere, they may move it there, and I apologize if that post feels out of place.
Sorry for the very late reply, but it is actually possible to trigger their Talk Event without a message by pressing up in front of them. Hope this helps!
Join the SMBX 38a Discord Server!
Image

sweep a leaf sweep away a troubles

Super Mario Player M
Topic author, Duke
Duke
Avatar
Super Mario Player M
Topic author, Duke
Duke
Age: 21
Reputation: 29
Posts: 141
Joined: 23 Jun 2016
Location: Planet Earth
Youtube channel URL Tencent QQ

Post #3by Super Mario Player » 15 Jul 2020, 13:48

Void wrote:
Super Mario Player wrote:Hey there :hi:
I've been wondering if there's a way, using TeaScript and/or other means, to trigger an NPC's Talk Event, without setting them up to say anything (i.e. leaving the Message box blank):
Spoiler
Image

If there's no such way, then how could I re-create the Talk event of that NPC (i.e. trigger an event whenever the player gets close by and presses a certain key), in a way as convenient as possible? I've had the idea of using liquids (with liquid type Event Once or Event Always), but I could not come up with a way to do that which was not tedious, that did not involve a ton of variables or scripts, etc.

Thanks in advance! :) ;-)

Side note: I'm making this post there, rather than the Script requests subforum, because I'm not asking for a precise script, but simply for a method to trigger or re-create an event. If a moderator believes this post belongs elsewhere, they may move it there, and I apologize if that post feels out of place.
Sorry for the very late reply, but it is actually possible to trigger their Talk Event without a message by pressing up in front of them. Hope this helps!
Sorry for the late reply on my part too :whistle: . Tbh I don't recall this worked on 1.4.4, which is the version I was using at the time I created this post. It does work on 1.4.5 though, so thanks for the reply :good:
My current project:
Spoiler
The Tower of Challenges

Languages (for PMs):

Image

YouTube channel:
Image
Image


Return to “TeaScript”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest