→Notes
(→Returns: added a link to new page with ID references for talent trees.) |
(→Notes) |
||
| Line 45: | Line 45: | ||
**You're currently inspecting the unit and pass ''true'' as the second argument. In other words, the inspect frame is open and you have a target. | **You're currently inspecting the unit and pass ''true'' as the second argument. In other words, the inspect frame is open and you have a target. | ||
**You're calling {{api|NotifyInspect}}([[UnitId|unit]]), are waiting for [[Events/I#INSPECT_TALENT_READY|INSPECT_TALENT_READY]] to fire, and are passing ''true'' as the second argument. After the event fires, the client will have the information you desire. | **You're calling {{api|NotifyInspect}}([[UnitId|unit]]), are waiting for [[Events/I#INSPECT_TALENT_READY|INSPECT_TALENT_READY]] to fire, and are passing ''true'' as the second argument. After the event fires, the client will have the information you desire. | ||
== Patch changes == | |||
{{Patch 4.0.1|note=Return values ''id'', ''description'', and ''isUnlocked'' were added.}} | |||