• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] I found a bug with the item stack of the new versions

Status
Not open for further replies.
Level 24
Joined
Jun 26, 2020
Messages
1,852
Hello, I tried to create a Item Spawn system that detects when you picked an item and then discounting it from that ones that are in the floor, but I discovered an annoying bug.
The items I spawn are stackable and when is picked the function GetManipulatingItem() instead of returning the picked item, returns the item you already have in the invertory and what the picked item will be merged, it sucks because it ruins the system, do you know a solution for that, because it will also suck making the stack manually instead of taking advantage of the new functions and that's the solution I can though.
 
Status
Not open for further replies.
Top