View Single Post
10-04-18, 01:33 PM   #1
stako
A Deviate Faerie Dragon
 
stako's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 11
Unit Existence: UnitExists vs UnitGUID

Having a look at the Blizzard_ArenaUI addon, there's a line to check for the existence of a unit:
Lua Code:
  1. if ( UnitGUID(self.unit) ) then --Use UnitGUID instead of UnitExists in case the unit is a remote update.

What does it mean by 'remote update' here and what's the difference between using UnitExists and UnitGUID when checking for the existence of a unit?
  Reply With Quote