...if anyone knows of one or can make this script i am going to need?
Its for my equiping system. Every equipment has a certian EP (equipment points) required to equip that certain weapon/armor/acc. Every level a character gets, he/she also gains some more max EP.
example...
say your character at Level 1 has 3/3 EP.
The weapon he/she equips takes up 1 EP.
So he/she now has 2/3 EP.
I need the current and max EP to show in the status, and in the equipping menu.
for whoever can help me wins 1000 internets
This probably isn't the most efficient way, but you could use a variable to store EP, and have one common event control the levelling of it, and have another which has a series of events which look like this:
Conditional Branch: Armour [Iron Armour] Equipped
Conditional Branch: Variable [001: EP] < 3
Play SE: Wrong
Text: You do not have enough EP to equip this piece of armour. You need 3 and you only have \v[1] EP.
Change Equipment: Armour [None]
Branch END
Branch END
It's not very clean, as I am not sure but it will probably wait until you exit the menu before delivering the message and unequipping. It'd be easier if you can get a script, but that should work if all else fails.
yeah i thought of that way too, the only thing is it wouldnt really show you how many you have left without actually try equiping something.
But ill probobly use something like that until a script is found/made.
I really wanna get a graphical bar for it too. That part of it shouldnt be too hard tho.
this kind of thing makes me wish I knew how to script.
the events thing would work, and you could probably pop up a menu when they equip to show how much they have left, but eh...