How to stop NPCs wall turn

Need help with any SMBX game-related issues? Ask your questions here.
marogalaxy
Goomba
Goomba
Posts: 1
Joined: Thu Apr 21, 2022 7:30 pm
Pronouns: Mongol/Mongolic

How to stop NPCs wall turn

Postby marogalaxy » Tue Aug 02, 2022 1:35 pm

My code basically makes npc walk according to its facing. But the problem is it switches its facing whenever it faces a block, automatically. How can i stop this?

BillyTheOrigami
Koopa
Koopa
Posts: 18
Joined: Thu Jan 20, 2022 5:56 am
Pronouns: him

Re: How to stop NPCs wall turn

Postby BillyTheOrigami » Tue Aug 09, 2022 6:30 am

In other words, you want the NPC to hover against the wall?

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9491
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: How to stop NPCs wall turn

Postby Enjl » Tue Aug 09, 2022 8:33 am

should be achievable using "staticdirection=true" in the npc config


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 1 guest