Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement

Returns true if the unit is from the same (connected) realm.

sameServer = UnitIsSameServer(unit)

Arguments[]

unit
string : UnitId

Returns[]

sameServer
boolean - 1 if the specified unit is from the player's realm (or a Connected Realm linked to the player's own realm), nil otherwise.

Patch changes[]

Mists of Pandaria Patch 5.4.0 (2013-09-10): First parameter argument; now always compares the realm of the specified unit to the player's own realm.
Cataclysm Patch 4.1.0 (2011-04-26): Added.

See also[]

Advertisement