What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Detect Target Talent Tree and Keypress

tuanha

Well-Known Member
Joined
Nov 29, 2011
Messages
6,998
Reaction score
124
Hi,

Can you please help me 2 question.

1. Is there anyway to check Target talent tree (Druid Balance/Feral/Resto)?

2. How to check if key is pressed (Like Space Key pressed)?

Thank you in advance.
 
Hi,

Can you please help me 2 question.

1. Is there anyway to check Target talent tree (Druid Balance/Feral/Resto)?

2. How to check if key is pressed (Like Space Key pressed)?

Thank you in advance.
your targets talent tree?
no

yes, but you would need to write a whole framework to do it, and its more trouble then its worth. (trust me i tried it)
 
Hi,

Can you please help me 2 question.

1. Is there anyway to check Target talent tree (Druid Balance/Feral/Resto)?

2. How to check if key is pressed (Like Space Key pressed)?

Thank you in advance.

1. yes, but u need some LUA-Knowledge
U need to fire NotifyInspect("unit"), before u can do this u should check CanInspect("unit", showError) if the selected target can be inspected, before u can fire this action u should check interaction-range CheckInteractDistance("unit", distIndex) (this should return 1 for interactrange)
if u have done this all, the INSPECT_READY event fires once the inspected unit's talent information can be retrieved using Talent APIs (e.g. GetTalentInfo(1,1,true)).

2.) don't do that!
 
You can check talents from friendly player of your own faction with inspecting them (if they are in range), enemy players from the opposing faction wont work.
 
Back
Top