Can't change default NPCs speed (through interaction)

Description: Report bugs of SMBX-38A here.
Forum rules: https://wohlsoft.ru/forum/viewtopic.php?f=64&t=1069
Moderators: Yoshi021, Lx Xzit, 5438A38A, Semi-moderatos, Moderators

Lx Xzit M
Topic author, Moderator
Moderator
Avatar
Lx Xzit M
Topic author, Moderator
Moderator
Reputation: 272
Posts: 618
Joined: 9 Nov 2015
Website

Post #1by Lx Xzit » 18 Sep 2019, 5:51

I'm not 100% if this is a bug or it's just that I'm doing something wrong, but whenever I try to interact with other npcs (e.g Shells, Bombs, Galoombas, or any other affected by gravity) and I tell it to jump, it won't work. However, trying to executing other orders works fine, it just happens whenever I try to change their speed values.

The NPC that is told to jump is not executing any script, it just receives the order. (I did it this way because the script I'm currently working on will interact with a lot of vanilla NPCs, and I don't want all of them run a script).

when you change npc().ysp, you should also set npc().stand to 0

I made a little script to show the problem:
Attachments
npc-jump.lvl
(2.11 KiB) Downloaded 8 times
VISIT MY YOUTUBE CHANNEL! LX XZIT
Join our 38A Discord server!

Image

Return to “Bug reports”

Who is online (over the past 5 minutes)

Users browsing this forum: 2 guests