WoW:API UnitIsVisible: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
;''Returns''
;''Returns''


:;vis : Boolean - client can see unit
:;vis : Number - 1 if client can see unit, nil if not


----
----
;''Details''
;''Details''
:The game client can see objects (including units) that the server has told it to load (and has not yet told it to unload).  The server provides objects in a 100-yard radius, but seems to load them in batches.
:The game client can see objects (including units) that the server has told it to load (and has not yet told it to unload).  The server provides objects in a 100-yard radius, but seems to load them in batches.

Revision as of 22:27, 20 August 2006

WoW API < UnitIsVisible

Indicates whether the game client (rather than the player) can see unit.


Arguments
(String unit)
unit
UnitId of the unit

Returns
vis
Number - 1 if client can see unit, nil if not

Details
The game client can see objects (including units) that the server has told it to load (and has not yet told it to unload). The server provides objects in a 100-yard radius, but seems to load them in batches.