Wikia

WoWWiki

Watchlist Recent changes

API UnitIsVisible

Main Menue



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.
This does not check for line-of-sight, only for game client visibility.

Pages on WoWWiki

94,195pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,622photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki