→Example
({{wowapi}}, update formatting, reword text) |
|||
| Line 11: | Line 11: | ||
==Example== | ==Example== | ||
UnitHealth("target"); -- Note: we're assuming the target isn't a friendly player/pet in our group. | |||
===Result=== | ===Result=== | ||
Prints the player's and target's health to the chat frame. | Prints the player's and target's health to the chat frame. | ||