Hello.I am using Rpg Maker VX. In My Game I Have common events that are linked with certain items/ armors.
For example, i have an invisibility cloak, that, when equipped will make you "Invisible" as long as you hold R button.
I have it set up to drain mp as it is being used, but when mp is zero i can still use it and it doesn't quit.
is there a way to make it so that when the mp is at zero it cannot be used/it will stop?
i've looked through conditional branches and there is no condition to do with these values.
this is how the common event is set up
@>Conditional Branch:[Dynen] is [Shadowcloak] Equipped
@>Conditional Branch: The R Button is Being Pressed
@>Control Switches [0010:Nodetect]=ON
@>Set Move Route: Player (wait)
:$>Change Opacity :100
:$>Change Blending: Sub
@> Change MP: [Dynen], -1
@>
: Else
@>Control Switches: [0010:Nodetect] =OFF
@>Set Move Route: Player (wait)
:$>Change Opacity :255
:$>Change Blending: Normal
@>
: Branch End
@>
: Else
@>
: Branch End
@>
I noticed YOu can have a conditional branch based on variables, but i am unfamiliar with variables and how they work, i have never used them, and i dont know if you can set hp/mp as variables.