added an new test macro , couldn't get the old to work
No edit summary |
(added an new test macro , couldn't get the old to work) |
||
| Line 36: | Line 36: | ||
<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. | <br>It has the same restrictions as other casting spells in that the trigger event needs to involve a keystroke or mouse click. | ||
// i could not get the above macro to work. it might be broken , if you have the same problem as me try the following macro | |||
"/script icon, name, active = GetShapeshiftFormInfo(X);if (active==1) then CastShapeshiftForm(1);end;" | |||
where X is the # of the shape (1 for bear) | |||
{{API/Uncategorized}} | {{API/Uncategorized}} | ||