Page 1 of 1

How to change profile skill during script?

Posted: Sat Feb 11, 2012 9:50 pm
by Buster99
I want to be able to use Phantom Stab, a Rogue Set Item Skill, at a specific spot in my script. So couple probs for me:

1. Phantom Stab is not set up in the Database/Skills rogue section. I may be able to set it up myself if I knew how to get the skill id. I know how to get item id's but not skill ones. Or if somone has already already set this up and would share, it would be helpful.

2. I was thinking that after I have it defined in the Skills section of my profile I would set it to autouse-false. Is there a way I can manually change it to "true" at a specific waypoint in my script? Then I would turn it back to false after using.

Thanks in advance for any help!

Re: How to change profile skill during script?

Posted: Sun Feb 12, 2012 1:22 am
by lisa
runesdatabase.com is usually good place to get skill Id's from

As for using the skill, yes set autouse to false then use

Code: Select all

player:cast("SKILLNAME")
to cast the skill, assuming you just want to use it once, otherwise you will need to change the autouse value to true.
Do a forum search for autouse, pretty sure there are already many posts with the code.