View Single Post
  #4  
Unread 10-03-2011, 07:29 AM
Garan's Avatar
Garan Garan is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Oct 2010
Posts: 343
Quote:
Originally Posted by MrJackdaw
I didn't know you could get the effects on the party - this makes a huge difference. Buff helpers could now be a clear reality, with a whole heap of effort that is. Can you also register for when a party members buffs change?
I haven't played with the Party stuff at all yet. I imagine that since the PartyMember has the same exact Methods as Player, it is probably an extension of Player, so it probably inherits the same Event handlers.

EDIT: I did get to test it with PowerChanged() and the event fired properly (each member had to have a separate event handler). I'm not sure how you would go about managing adding and removing the event handlers unless there is a Party:MemberJoined() event or something. Unfortunately, possible Events are a lot harder to locate than Methods - Lua provides the names of the Methods in each objects' metatable.

Last edited by Garan : 10-03-2011 at 09:04 AM.
Reply With Quote