I want to script a Hide() for my Fighter/Mage/Thief, but, of course, I don't want him trying to hide if the button is disabled by his armor.
I also want it so that if he fails, he has to wait for the button to come back on, like a player would. as it is, he can just keep trying Hide() until he makes it, pretty much every tick..
Legal Hide
Started by WizWom, Aug 31 2006 10:48 AM
1 reply to this topic
#1
Posted 31 August 2006 - 10:48 AM
#2
Posted 31 August 2006 - 08:59 PM
1) Use a big list of all the armors in the game in your script
2) Add a 'while equipped' effect that sets a stat for every armor in the game so you can detect whether on not thieving skills like hide can be used with that type of armor through the script.
Watch out on what stat you use. Detectable Spells/Effects uses a bunch (if not all) of the available ones.
2) Add a 'while equipped' effect that sets a stat for every armor in the game so you can detect whether on not thieving skills like hide can be used with that type of armor through the script.
Watch out on what stat you use. Detectable Spells/Effects uses a bunch (if not all) of the available ones.
-cirerrek Cirerrek's IE Miscellania