Jump to content


Photo

Legal Hide


  • Please log in to reply
1 reply to this topic

#1 WizWom

WizWom
  • Member
  • 270 posts

Posted 31 August 2006 - 10:48 AM

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..

#2 cirerrek

cirerrek
  • Member
  • 193 posts

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.