View Single Post
03-15-06, 11:10 AM   #31
MacDude
A Murloc Raider
Join Date: Mar 2006
Posts: 7
update

Originally Posted by MacDude
Wowwiki list an Event called "PLAYER_UPDATE_RESTING", so I'm trying make it so I can have an outfit for town.

I have sets for "Town", "Power" and "Tank" all set. Switching them via hotkey works great.

Since "PLAYER_UPDATE_RESTING" is called when starting or stoping resting in towns and inns, I'm trying to basically toggle based on the event.

Here is what I'm trying:

Name: Town
Trigger: PLAYER_UPDATE_RESTING
Delay: 0
Script:
If IsSetEquipped("Power") or
IsSetEquipped("Tank") then
EquipSet()
else
if IsSetEquipped("Town") then
EquipSet("Power")
end
--[[Equip a set when in town, equip Power when leaving]]


Note, when I use that trigger, I can't event get EquipSet() to work as the script.

Any hope?

[fixed some typos]
Update: I got the plain old EquipSet() to work, but I can't get the logic down to determine if the "town" set is already worn, to switch to the "Power" set.
  Reply With Quote