What do I do when I click on the button the shield appears and when I release the button the character unequips the shield? I don't know, help me
button the shield
RPG Maker MV SupportHey! Could you send some screenshots or a recording of what's happening?
It might help clarify what's going on. 🙂
It might help clarify what's going on. 🙂
Hello my friend, Conditional Branching -> The button is pressed every X frame and using a button to track whether the item is equipped or not and thus unequip, I don't even know how to start
Sorry, but I'm still not sure about your question. Are you equipping a shield every frame the player presses a button? Like I said, screenshots can be helpful.
I don't speak Portuguese, but thanks for the screenshot!
What I'm seeing is that you're trying to equip a shield if the party has it? One thing is that the common event is never set to run. Maybe set that up in an event or something.
There's an easier way to force equips, however.
Eventing page 1: Change equipment (Set the actor to have a shield here)
And in the 'Armor' section: Lock Equip (Set this to be the slot where the shield would go)
Hopefully this helps!
What I'm seeing is that you're trying to equip a shield if the party has it? One thing is that the common event is never set to run. Maybe set that up in an event or something.
There's an easier way to force equips, however.
Eventing page 1: Change equipment (Set the actor to have a shield here)
And in the 'Armor' section: Lock Equip (Set this to be the slot where the shield would go)
Hopefully this helps!
@PauloWanderson
you misunderstood several concepts of the engine.
First, the conditional branch "button pressed" only checks if the button was pressed in that specific framne, it does not wait for the player.
as such it needs to be checked inside a parallel process to work at all.
and because of this, button press can not be used that way during battle, because there is no parallel process during battlescreen.
so what you want cannot be done the way you want it done.
And you never describe the effect you want, only how you want something to happen.
So please take two steps back and describe what you want to happen (ingame effect), then we can try to help you a way on how to do that.
you misunderstood several concepts of the engine.
First, the conditional branch "button pressed" only checks if the button was pressed in that specific framne, it does not wait for the player.
as such it needs to be checked inside a parallel process to work at all.
and because of this, button press can not be used that way during battle, because there is no parallel process during battlescreen.
so what you want cannot be done the way you want it done.
And you never describe the effect you want, only how you want something to happen.
So please take two steps back and describe what you want to happen (ingame effect), then we can try to help you a way on how to do that.
Thank you my friend, yes it is an abs system, mog, battle on the map, I wanted the shield to attack and be saved again, only when the player presses a single button
If you're using ChronoEngine you need to say so in your thread title because it works a lot differently from the base engine. It also already has shield assigned to D on the keyboard.
Hello my friend, yes letter D, my problem is with the core item, the equipment breaks but does not disappear, the only way to disappear is to create an activate shield button, and then deactivate it so that it disappears from the inventory and the user does not can use the shield anymore.
Currently the shield breaks but you can still use it, I just want it to disappear just like the weapons. Help me, I've seen several of your comments as well as the restart about the chrono engine
So you want to make it so if the player blocks an attack while shielding, it breaks the shield and removes it from the player's inventory? That's doable but will require overwriting a section of the ChronoEngine code.
So the weapons, everything gets destroyed and disappears with the core item, the shield even disappears from the inventory but you can still use it, well I realized that if you change shields the other broken one disappears, can you tell me how to update the equipment so that the shield no longer used? After all, it is no longer in inventory
That's not right. If the player has no shield equipped, the guard button doesn't do anything.
yes, but the core item does not work unless you set the last option of the plugin to yes, then it works, but the shield only disappears when you leave the map to another map
Your English is really unclear. The last option of the plugin is Escape Gauge Y Axis. What do you mean by "the shield disappears", and how are you removing it?
Ok, that is a completely different plugin, Yanfly Item Core. It would have helped if you said in the first post you were using Cross Engine with Yanfly Item Core. You need to unequip the shield from the equip menu
Yes, the more it breaks and disappears, the more you can use it, I wish it would stop being used when it breaks.
What is breaking it in the first place? Are you using Yanfly Item Durability? You need to say exactly what plugins you're using so we don't have to guess.
Friend, thanks for the ideas, instead of the button, how do you make it so that when you use a weapon after x turns it breaks or disappears?
Original thread: https://forums.rpgmakerweb.com/threads/button-the-shield.166696/