alter NPC bug

Make games! Discuss those games here.

Moderators: Bob the Hamster, marionline, SDHawk

Post Reply
User avatar
Seamus Moore
Slime
Posts: 19
Joined: Mon Mar 16, 2020 9:39 pm
Location: Seamus Moore's House

alter NPC bug

Post by Seamus Moore »

When I used "alter NPC" in a plotscript to change the pushability of an NPC, I found that setting pushability to "Horizontal" makes npc's push vertically, and setting it to "vertical" makes the npc push only horizontally.
Does this happen with anyone else?
dQw4w9WgXcQ
User avatar
Bird
Slime Knight
Posts: 227
Joined: Thu Jan 26, 2012 2:19 pm
Location: Germany

Post by Bird »

It does indeed! Bug confirmed on Gorgonzola stable.
TMC
Metal King Slime
Posts: 4308
Joined: Sun Apr 10, 2011 9:19 am

Post by TMC »

Well, oops. Thanks for reporting that.
I guess we'll swap those constants around to the right way. Existing games won't be affected, but if you recompile/import your scripts they'll act differently. So if you write NPCpush:horizontal because you want vertical pushability then make sure to change your script when you upgrade to a nightly/the next release.
Last edited by TMC on Sun Aug 30, 2020 9:48 am, edited 1 time in total.
User avatar
Seamus Moore
Slime
Posts: 19
Joined: Mon Mar 16, 2020 9:39 pm
Location: Seamus Moore's House

Post by Seamus Moore »

Ok, Good to know. Thanks.
dQw4w9WgXcQ
Post Reply