How do I make an item you have to be a certain level to use/equip?
From OHRRPGCE-Wiki
I never tested this but I'm guessing you can try this.
This may not be what you are looking for, but here is one option:
!This will only work if the item is equipable to 1 hero!
Make the item, but so that it activates a text box, and does nothing else. The text box might say what level you have to be, but it doesn't matter, just make it lead to a script.
Then make an item that CAN be equipped and do everything you want it to do. Give it the same name or almost the same name. Give it the same description as well so the person can't tell the difference.
The script is kinda like this:
Script,plotscript,begin if (get hero level (find hero(hero:~))>>~~) then ( #Here make the script remove the item that does this, and add the item that #has the same name and stuff ) end
~Put the hero name defined in the HSI file here that you want it to check ~~Put here the level you want the hero to be GREATER than before it will equip
This script basically checks if the hero * 's level (get hero level (who) is greater (>>) than ** (a number, the one you want the level to be greater than) then, if it returns true it will do what you want, in this case... removing that item and adding the other item.
You might also want to add in a text box that says "YOU CAN NOW EQUIP IT!" or something.
