Stuff Todo
If not in guild disable updates
Find character name and class
Find character position
Filter out recieving own messages
- Listen for GUILD_ROSTER_UPDATE event and clear out offline members
Create list of others positions
- Listen for "PLAYER_FLAGS_CHANGED" and don't send info if afk or dnd?
Draw on minimap
Draw on Map if open
- Add UI for preference Items
- Add a button to the map/minimap to not draw members
- Add right click menu on MiniMap
- Add Follow Member -- FollowByName()
- Inspect -- TargetByName();
- Trade -- TargetByName(); InitiateTrade();
- Invite -- InviteByName(); Should be on worldMap too
- Get Info
- GetBlockChance()
- GetParryChance()
- GetCritChance()
- GetDodgeChance()
- Armor -- UnitArmor(UnitId)
- MaxHealth UnitHealthMax(UnitId)
- MaxMana UnitManaMax(UnitId) -- use UnitPowerType to determine if they use mana.
- PVPRank UnitPVPRank(UnitId)
- AttackPower UnitAttackPower(UnitId)
- RangedAttackPower -- UnitRangedAttackPower(UnitId)
- AttackSpeed UnitAttackSpeed(UnitId)
- TimePlayed? -- RequestTimePlayed() -- TIME_PLAYED_MSG
- PlayersLag? You don't want a healer with a ton of lag. GetNetStats();
- Trade skills and levels?
- d
Events that might be useful
- "CLOSE_WORLD_MAP"
- MINIMAP_UPDATE_ZOOM
- MINIMAP_ZONE_CHANGED
- PLAYER_ENTERING_WORLD - Fired when the player enters the world, enters/leaves an instance, or respawns at a graveyard. Also fires any other time the player sees a loading screen. To check if the player is entering an instance, check GetPlayerMapPosition to see if both X and Y are zero.
- PLAYER_LEAVING_WORLD Use to send another guild message to clear out that player from the list of online instead of relying on guild_roster_update...
- WORLD_MAP_UPDATE - Fired when the world map should be updated.
- "PLAYER_LEVEL_UP" Fired when a player levels up. arg1 is new player level