Kloki38 Posted August 2, 2020 (edited) I have a problem with this decorate. I made a coin players can use in shops to buy stuff. I set the inventory max amount to 99, but it only works fine in single player. In MP all players can only pick up one coin and the rest is ignored/can´t be picked up. ACTOR coin1 : puzzleitem 20059 { Inventory.PickupMessage "coin" Inventory.PickupSound "coin" Inventory.Icon "COINA0" Inventory.MaxAmount 99 scale 0.3 +Inventory.alwayspickup States { Spawn: COIN A -1 loop } } Edited August 2, 2020 by Kloki38 0 Quote Share this post Link to post
Graf Zahl Posted August 2, 2020 That's a limitation of PuzzleItem. Hexem blocks multiple pickups of this in MP, and this was copied by ZDoom from where GZDoom inherited it. Do you need this to be a puzzle item? 0 Quote Share this post Link to post
Kloki38 Posted August 2, 2020 No, not at all. The only reason I set it as a puzzleitem is because I could not figure out another proper way how to make an unusable inventory item. 0 Quote Share this post Link to post
Kloki38 Posted August 4, 2020 @Graf Zahl Sorry to bother you,but how can I fix it ? 0 Quote Share this post Link to post
Graf Zahl Posted August 4, 2020 Just inherit from Inventory instead of PuzzleItem. If you want to have it show up in the inventory bar, add the +Inventory.InvBar flag as well. 3 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.