Пользовательские дополнения
На главную
cartographer.GetCurrentZoneAttributes()
Возвращает индексированный массив строковых атрибутов зоны в которой находится главный игрок. Атрибуты задаются в ресурсах зон и собираются и с самой зоны и с её родительских зон. В полученном массиве по индексу строкового аттрибута находится значение true.
-- библиотека:
cartographer
-- объявление:
function GetCurrentZoneAttributes()
-- параметры:
нет
-- возвращаемые значения:
table of string - таблица, со значениями true по индексам имеющихся строковых аттрибутов
Пример:
if cartographer.GetCurrentZoneAttributes()[ "Goblinoball" ] then
LogInfo( "Это зона для гоблинобола." )
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
На главную