WoW:API UnitIsVisible: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Move page script moved page API UnitIsVisible to API UnitIsVisible without leaving a redirect) |
||
(One intermediate revision by one other user not shown) | |||
Line 17: | Line 17: | ||
;''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. | ||
:This does not check for line-of-sight, only for game client visibility. |
Latest revision as of 04:47, 15 August 2023
← 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.
- This does not check for line-of-sight, only for game client visibility.