WoW:API UnitIsPlayer: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(upgraded deprecated template) |
||
Line 1: | Line 1: | ||
{{wowapi}} | |||
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> | <!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> | ||
Line 23: | Line 24: | ||
--Do something here | --Do something here | ||
end | end | ||
Revision as of 17:33, 6 January 2007
← WoW API < UnitIsPlayer
UnitIsPlayer(UnitId)
Determines if the unit is a player.
- Arguments
- Returns
- True/False
- Example
if (UnitIsPlayer(UnitId)) then --Do something here elseif (UnitIsPlayer(UnitId) ~= nil) then --Do something here end