mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Eluna add GetWorldObject by guid to map methods. Closes #64 requires use of guid
This commit is contained in:
@@ -1129,6 +1129,7 @@ ElunaRegister<Map> MapMethods[] =
|
||||
{ "GetMapId", &LuaMap::GetMapId }, // :GetMapId() - Returns the map's ID UNDOCUMENTED
|
||||
{ "GetAreaId", &LuaMap::GetAreaId }, // :GetAreaId(x, y, z) - Returns the map's area ID based on coords UNDOCUMENTED
|
||||
{ "GetHeight", &LuaMap::GetHeight }, // :GetHeight(x, y[, phasemask]) - Returns ground Z coordinate. UNDOCUMENTED
|
||||
{ "GetWorldObject", &LuaMap::GetWorldObject }, // :GetWorldObject(guid) - Returns a worldobject (player, creature, gameobject..) from the map by it's guid
|
||||
|
||||
// Booleans
|
||||
#ifndef CLASSIC
|
||||
|
||||
Reference in New Issue
Block a user