I can't seem to find any api function that returns the target of a specific unit, like target of my target... Are there really no such method :S?, and if not then what cowboy tricks do you use to get target of target?
EDIT: Solved it!, yeh I know this post hasn't been up for long but I wont delete it, because maybe someone else has the same problem or run into the same problem (and google totally let me down this time)...
SOLUTION:
Apparently you can write "targettarget" to get target of target, for example: UnitName("targettarget")
( My usual api information resource is http://wowprogramming.com/docs/api_categories, but I also looked at http://www.wowwiki.com/World_of_Warcraft_API )
EDIT: Solved it!, yeh I know this post hasn't been up for long but I wont delete it, because maybe someone else has the same problem or run into the same problem (and google totally let me down this time)...
SOLUTION:
Apparently you can write "targettarget" to get target of target, for example: UnitName("targettarget")
http://www.wowpedia.org/UnitId has the complete rules.
This is going to be very useful for me :)