m
Move page script moved page API UnitPlayerControlled to WoW:API UnitPlayerControlled without leaving a redirect
mNo edit summary |
m (Move page script moved page API UnitPlayerControlled to WoW:API UnitPlayerControlled without leaving a redirect) |
||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}} | |||
Return whether the "unit" is controlled by a player or an NPC. | Return whether the "unit" is controlled by a player or an NPC. | ||
| Line 8: | Line 8: | ||
:("unit") | :("unit") | ||
:;unit : String - The [[API TYPE UnitId|UnitId]] to select as a target. | :;unit : String - The [[API TYPE UnitId|UnitId]] to select as a target. Using a unit's name as the unit ID only works if the unit is a member of your party. | ||
=== Returns === | === Returns === | ||
| Line 27: | Line 27: | ||
:;[[API ScrollingMessageFrame AddMessage|ScrollingMessageFrame:AddMessage("text",r,g,b,id)]] : Valid Frame names:<br>DEFAULT_CHAT_FRAME<br>ChatFrame1 - ChatFrame7 | :;[[API ScrollingMessageFrame AddMessage|ScrollingMessageFrame:AddMessage("text",r,g,b,id)]] : Valid Frame names:<br>DEFAULT_CHAT_FRAME<br>ChatFrame1 - ChatFrame7 | ||