View Single Post
03-06-06, 03:51 PM   #30
MacDude
A Murloc Raider
Join Date: Mar 2006
Posts: 7
In Town event

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]

Last edited by MacDude : 03-06-06 at 03:55 PM.
  Reply With Quote