how to force a player to equip an item?

How can I make sure the player actually equips the item.

For example: you cant leave a house until you have equipped the sword that you find in the chest.

I know how to make sure its in your inventory, but I dont know how to make sure you actually equip it.

Thank you for reading.
You can auto equip the item using an event. In Event Commands, click Change Equipment under the Actor. Select the Actor and then the equipment you want the player to use.

If you want to prevent the player from unequiping the item, you'll need to fix it to them. To do that, you have to go into the database and select the item. Go the features box and open up the menu. Select the equip tab and the fix equip.

Hope that helps 🙂
Thank you for your answer. I dont think i was clear enough, my bad.

I was wondering if it is possible to make the player himself equip the weapon. not start the player with it, or do it automatically. I want to the player to go into the menu and equip himself.
I'm not sure I understand your question. If you want to prompt the player to equip an item, you can use an event to automatically open the menu after the player acquires it. Is that what you're talking about?

If you want to prevent the player from advancing without equiping the item, then you'll need to create an event that checks whether the item has been equiped and only let them leave the area (or do whatever) if it has been.
You can't do it via conditions on an event page, so you'll have to do it via a conditional branch instead.

On your exit event, put something like this:

Code:
Conditional Branch: [Actor] is [Equipment] Equipped  Control Self Switch A = ON  Transfer Player ...Else  Show Text: It wouldn't be safe to leave without your <equipment name>Branch End
Then add another page conditioned by self switch A that just has the transfer. Since, if the player comes back later, they might have new and better equipment, and you don't want to force them to put on the old stuff again (especially since they may have gotten rid of it and can't get it again while in the room).
Thank you so much for your answers.

This thread has been answered.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-force-a-player-to-equip-an-item.22150/