# Пользовательские дополнения

На главную

## cartographer.GetZonesMapId( sysName )

Возвращает Id интерфейсной карты зоны по уникальному имени.

    -- библиотека:
    cartographer

    -- объявление:
    function GetZonesMapId( sysName )

    -- параметры:
    sysName: string -- уникальное имя карты

    -- возвращаемые значения:
    ObjectId or nil - Id интерфейсной карты, если карта найдена

    -- пример:
    local zonesMapId = cartographer.GetZonesMapId( "ZoneLeague1" )
    if zonesMapId then
      local zonesMapInfo = cartographer.GetZonesMapInfo( zonesMapId )
      if zonesMapInfo then
        wtMap:SetBackgroundTexture( zonesMapInfo.texture )
      end
    end

#### Search: "CategoryLuaApi" "CategoryCartographer"

CategoryCartographer
EventAvatarClientZoneChanged
EventAvatarMapModifiersChanged
EventAvatarZoneChanged
EventNavigateEnabledChanged
EventNavigatorObjectReached
EventSosFinished
EventSosStarted
FunctionCartographerCanNavigateToPoint
FunctionCartographerGetCurrentMap
FunctionCartographerGetCurrentMapModifiers
FunctionCartographerGetCurrentZone
FunctionCartographerGetCurrentZoneAttributes
FunctionCartographerGetMapBlockInfo
FunctionCartographerGetMapBlocks
FunctionCartographerGetMapMarkerObjects
FunctionCartographerGetMapMarkers
FunctionCartographerGetMapModifierInfo
FunctionCartographerGetMapModifierValuedObject
FunctionCartographerGetMarkerInfo
FunctionCartographerGetObjectGeodata
FunctionCartographerGetQuestGeodata
FunctionCartographerGetQuestObjectiveGeodata
FunctionCartographerGetSosInfo
FunctionCartographerGetSosObjects
FunctionCartographerGetZonesMapId
FunctionCartographerGetZonesMapInfo
FunctionCartographerGetZonesMapQuests
FunctionCartographerIsFinalQuestCompleted
FunctionCartographerNavigateToObject
FunctionCartographerNavigateToPoint
FunctionCartographerNavigateToRule
FunctionRulesGetZonesMaps
FunctionUnitGetZonesMapId
Geodata
MapModifierId

CategoryLuaApi CategoryFunction CategoryCartographer

На главную