Use Items on Pickup

● ARCHIVED · READ-ONLY
Started by jerrypylant 6 posts View original ↗
  1. Is there a script to where i can use items on pick up. Like if i find a (potion) in a chest i want to automatically use it. 
  2. On the event that the item is given, just make a command that uses that item on the player.
  3. Yeah, no script needed for this. Just edit the chest event.


    Question whether you SHOULD though - I wouldn't enjoy a game where I got an item from a chest and it was used automatically. I'd rather hang onto it and use it when I could.


    Unless you make it visible so I KNOW what I'm about to pick up, and can leave it behind and come back for it later.
  4. The item is visible, its something like a heart on legend of zelda.
  5. Initially you said the items would be in a chest ;)


    So do you still need a script for this, or are you happy to use the event commands?


    There is no "use item" event command. But there are all sorts of commands that allow you to change your party's HP, MP, states, etc - basically doing the same thing the item would have done if used from the menu. In that case, you wouldn't use the Change Items command, because you're not giving it to them to be used later.
  6. I figured it out, i just made the item restore hp or mp and just took the item out in the event.