I don't know if that's supposed to be an intended, but it seems like a bug since the stack (in your inventory or a container) you took half from shouldn't be an active item shouldn't it just be the half of the stack you took that's the current active item pushing the newactiveitem event?
If this is intended can we have an event which is pushed only when an item is held with the player's cursor if newactiveitem isn't intended to be exclusive for that?
1) Make a cave server(?)
2) Use a playerpostinit with inst:ListenForEvent("newactiveitem", SomeFunction) on client side
3) In the function put a print like print("hello)
4) Take half of a stack from an item and see the print's done twice (one for the actual active item which is the half you took and one time for the half you took from which doesn't feel like it should be happening)
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now