View Single Post
11-10-08, 02:39 PM   #238
Jabar
Premium Member
 
Jabar's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Jan 2008
Posts: 8
Post

Hi !

I'm currently exporting my pitbull's layout to oUF. It's looking good so far.. so I'm quite proud of myself. \o/

Everything's working fine except one detail: I'd like the target frame to show the class icon.
Total failure on my side.

I have the path to the icons texture + the coordinates for each class in a table.
Am I supposed to register an event for PLAYER_TARGET_CHANGED then get the class value to use with my texture ? If so, where do i write it ? It's not very clear in my mind.

Thanks for your help ! =)