no edit summary
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<center><b[[>API CastShapeshiftForm</b> - <i>Submitted by [[/User:Naliya|Naliya]]</i></center><br> | <center><b[[>API CastShapeshiftForm</b> - <i>Submitted by [[/User:Naliya|Naliya]]</i></center><br> | ||
<p>Casts Shapeshift on yourself. | <p>Casts Shapeshift on yourself. This is class dependant - not all classes have special abilites. | ||
</p> | </p> | ||
<pre>CastShapeshiftForm(#);</pre> | <pre>CastShapeshiftForm(#);</pre> | ||
| Line 7: | Line 7: | ||
<p><b><i>Arguments</i></b><br> | <p><b><i>Arguments</i></b><br> | ||
<br>(# in this case relates to the different forms)<br> | <br>(# in this case relates to the different forms)<br> | ||
Druid<br> | |||
*1 = Bear/Dire Bear Form<br> | *1 = Bear/Dire Bear Form<br> | ||
*2 = Aquatic Form<br> | *2 = Aquatic Form<br> | ||
*3 = Cat Form<br> | *3 = Cat Form<br> | ||
*4 = Travel Form | *4 = Travel Form<br><br> | ||
Rogue<br> | |||
*1 = Stealth<br><br> | |||
Warrior<br> | |||
*1 = Battle Stance<br> | |||
*2 = Defensive Stance<br> | |||
*3 = Beserker Stance<br> | |||
<br>Rumours abound that 0 is caster form, but I can't personally get that to work, so I've omitted it for now.</p> | <br>Rumours abound that 0 is caster form, but I can't personally get that to work, so I've omitted it for now.</p> | ||
| Line 27: | Line 35: | ||
<b><i>Result</i></b><br> | <b><i>Result</i></b><br> | ||
<br>In this case, the script checks if you're in Bear/Dire Bear form, and if so, casts the spell to change you back to Caster form. | <br>In this case, the script checks if you're in Bear/Dire Bear form, and if so, casts the spell to change you back to Caster form. | ||
<br>It has the same restrictions as other casting spells in that the trigger event needs to involve a keystroke or mouse click. | |||