How to make an enemy not move? Like AT ALL?

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

Moderator: Userbase Moderators

Mal8rk
Snifit
Snifit
Posts: 217
Joined: Mon Oct 25, 2021 11:04 pm
Flair: English Speaking Spanish Speaker
Pronouns: He/Him
Contact:

How to make an enemy not move? Like AT ALL?

Postby Mal8rk » Fri Jan 28, 2022 11:37 am

What I mean by this is, how can I make an enemy not move without it doing whatever things they usually do? Like how can make a Hammer Bro not move without it throwing its hammers

deice
Rocky Wrench
Rocky Wrench
Posts: 639
Joined: Fri Jul 23, 2021 7:35 am

Re: How to make an enemy not move? Like AT ALL?

Postby deice » Fri Jan 28, 2022 2:15 pm

most npc actions are controlled by their ai fields. for example, the smb1 hammer bro throws hammers depending on "ai3". other npcs might have states which you can easily just keep setting to idle.

Julia Pseudo
Luigi
Luigi
Posts: 5609
Joined: Wed Jan 08, 2014 12:04 am
Flair: gay gaymer girl
Pronouns: She/her

Re: How to make an enemy not move? Like AT ALL?

Postby Julia Pseudo » Sun Jan 30, 2022 7:00 am

Instead of actually using the existing Hammer Bro. NPC, it can often be easier to reskin one of the existing friendly NPCs (like Toad or Peach or Megan) to be a Hammer Bro. These NPCs don't do anything on their own, so are perfect for purposes like this.


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari