Events that track enemies/player (1.3 SMBX)

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

Dragonfruit
Goomba
Goomba
Posts: 3
Joined: Fri Nov 02, 2018 8:59 pm
Flair: Dragonfruit is bored

Events that track enemies/player (1.3 SMBX)

Postby Dragonfruit » Fri Nov 02, 2018 9:11 pm

So, even though I think I can classify myself as being able to traverse SMBX 1.3 fairly well, I have one question I so want an answer to: Is there a way to make an event appear at an enemy/player location, or at the very least relative to it, especially for NPC's like Bowser, who moves around erratically and not in one straight line, which also goes for the player. Anyone got any answers? If you need more clarification, here is an example. Say I want to have a 4 block width, 2 block high piece of land that, every so often, stops for a moment, and heads down toward you to crush you. Any way to do this?

ThePieSkyHigh
Eerie
Eerie
Posts: 755
Joined: Fri Jun 15, 2018 3:03 pm
Flair: eat trash, die fast

Re: Events that track enemies/player (1.3 SMBX)

Postby ThePieSkyHigh » Fri Nov 02, 2018 9:39 pm

This is something I wanted to do too.. Hopefully somebody replies here.

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9890
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: Events that track enemies/player (1.3 SMBX)

Postby Emral » Sat Nov 03, 2018 7:31 am

You gotta make a custom npc with SMBX2's lunalua. You can't grab player position in 1.3.
Layers have no sense of position so they're out of the question, unless you make a control block which moves itself over layers through Lua. Problem with that is that blocks have no sense of sections. So Npcs are likely to be the best choice.

Dragonfruit
Goomba
Goomba
Posts: 3
Joined: Fri Nov 02, 2018 8:59 pm
Flair: Dragonfruit is bored

Re: Events that track enemies/player (1.3 SMBX)

Postby Dragonfruit » Sat Nov 03, 2018 10:00 am

Thanks my dude, I should probably look into switching over to SMBX2.


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari