View Single Post
12-29-08, 07:44 PM   #393
haste
Featured Artist
 
haste's Avatar
Premium Member
Featured
Join Date: Dec 2005
Posts: 1,027
Originally Posted by p3lim View Post
Yeah, if you just spawn 1 header from that specific layout, you could use Spawn's 3rd argument instead.

Though 1 question remains, how do I gain access to the template within the style function?
Can get to the player frame by doing 'if(unit == 'player') then'
1. No, that's just plain wrong. Unless your begging for unintended behavior.
2. If you by template mean sub-object (ie. party (pet|target) frame)): Parent, Name, Attributes. You have exactly the same information as before.