Touch Script on Projectils?

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

GreenMario M
Topic author, Passerby
Passerby
Avatar
GreenMario M
Topic author, Passerby
Passerby
Age: 16
Reputation: 2
Posts: 4
Joined: 24 May 2017

Post #1by GreenMario » 24 May 2017, 15:51

Hello...Um...I'm kinda new to this forum and just wanted to ask if there's a way to make some npcs like the Hammer Bro or Metroid Shooter touch events on the projectils they throw,not themselves.Can somebody help me?
Playing:
Paper Mario the Thousand year-door (for the 4th time,this game is so awesome)
Smash Bros 4(I main Dr. Mario :) )
Smbx(Creating levels)
Currently...: Ashley Song: "I don't have as many friends as you" how do you ever get a negative number of friends? :cry:

Greendan M
Count
Count
Avatar
Greendan M
Count
Count
Age: 16
Reputation: 68
Posts: 295
Joined: 26 Apr 2015
Location: Planet Caturn
Website Google+ Skype YouTube

Post #2by Greendan » 24 May 2017, 22:22

So you want to make Touch Event for the projectiles?
If so, then here's how
:3
bandicam 2017-05-24 22-16-27-607.gif
Image
Current Project:
Image
Website: https://supermariobrosxgreendanedition.alle.bg

You've cat to be kitten me right meow!

Image
Image
Image


I Support:
Image
Image

GreenMario M
Topic author, Passerby
Passerby
Avatar
GreenMario M
Topic author, Passerby
Passerby
Age: 16
Reputation: 2
Posts: 4
Joined: 24 May 2017

Post #3by GreenMario » 24 May 2017, 23:19

Umm...I actually want to make Touch events to projectils that enemies throw.Such as A hammer bro in a part of the level.A touch event on the hammers it throw,not him.By what I know,This you splained will just make the projectil I put in level do the event,not the ones that the hammer bro throws.But that's ok maybe I'll use generators...Thanks....
Playing:
Paper Mario the Thousand year-door (for the 4th time,this game is so awesome)
Smash Bros 4(I main Dr. Mario :) )
Smbx(Creating levels)
Currently...: Ashley Song: "I don't have as many friends as you" how do you ever get a negative number of friends? :cry:

Greendan M
Count
Count
Avatar
Greendan M
Count
Count
Age: 16
Reputation: 68
Posts: 295
Joined: 26 Apr 2015
Location: Planet Caturn
Website Google+ Skype YouTube

Post #4by Greendan » 25 May 2017, 13:20

Generators? I clicked "Events2" not "Generator". And it works the same with the hammer. As you can see in the gif, I used the player fireball just for example. But you can make the same for the hammer bro's hammers.
Image
Current Project:
Image
Website: https://supermariobrosxgreendanedition.alle.bg

You've cat to be kitten me right meow!

Image
Image
Image


I Support:
Image
Image


Return to “TeaScript”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest