Пользовательские дополнения
На главную
astral.GetSectorAstrolabeInfo( sectorId )
возвращает информацию о возможности прыжка в астральный сектор с помощью астролябии.
-- библиотека:
astral
-- объявление:
function GetSectorAstrolabeInfo( sectorId )
-- параметры:
sectorId: ObjectId - идентификатор сектора
-- возвращаемые значения:
таблица, индексированная [0..], значения - таблицы доступных и потенциально доступных секторов с полями:
unlockLevel: number - уровень анлока, требующийся у каждого игрока в группе для прыжка в этот сектор
isAvailable: boolean - можно ли осуществить прыжок
lockedPlayers: table of WString - индексированный с 0 список имён членов экипажа, блокирующих прыжок, если isAvailable == false
-- пример:
local info = astral.GetSectorAstrolabeInfo( sectorId )
if not info.isAvailable then
LogInfo( "Cannot jump" )
end
end
Связанные страницы: "CategoryLuaApi" "CategoryAstralLua"
EnumFailType
EventAstralHubChanged
EventAstralIslandChanged
EventAstralIslandTimeChanged
EventAstralObjectDespawned
EventAstralObjectEnabledChanged
EventAstralObjectSpawned
EventAstralPoisChanged
EventAstralSectorChanged
EventAstralSectorCheckJumpResult
EventAstralWreckLootTaken
EventAstrolabeInfoChanged
EventAstrolabeSpellChanged
EventAstrolabeSpellEffect
EventIslandDeathLimitChanged
EventPlayerAstralUnlockChanged
EventScannedHubObjectsChanged
FunctionAstralAstrolabeJump
FunctionAstralCheckJump
FunctionAstralGetAddonInfo
FunctionAstralGetAddons
FunctionAstralGetAddonSectors
FunctionAstralGetAllPOIs
FunctionAstralGetAllSectorsObsolete
FunctionAstralGetAllTLsObsolete
FunctionAstralGetAstrolabeDeniedPlayers
FunctionAstralGetAstrolabeInfo
FunctionAstralGetAstrolabeInfoEx
FunctionAstralGetAstrolabeTarget
FunctionAstralGetCurrentSector
FunctionAstralGetGroupUnlockLevel
FunctionAstralGetHubCenter
FunctionAstralGetHubRadius
FunctionAstralGetIslandCollapseTime
FunctionAstralGetIslandDeathLimit
FunctionAstralGetObjectInfo
FunctionAstralGetObjects
FunctionAstralGetPlayerUnlockLevel
FunctionAstralGetPOIInfo
FunctionAstralGetPOITradeInfo
FunctionAstralGetScannedObjects
FunctionAstralGetSectorAstrolabeInfo
FunctionAstralGetSectorDirectPOI
FunctionAstralGetSectorEdges
FunctionAstralGetSectorEdgesById
FunctionAstralGetSectorEdgesObsolete
FunctionAstralGetSectorInfo
FunctionAstralGetSectorInfoById
FunctionAstralGetSectorPOIs
FunctionAstralGetSectorRelatedQuests
FunctionAstralGetUnits
FunctionAstralIsSectorKnownForGroup
FunctionAstralIsSectorKnownForPlayer
FunctionAvatarGetQuestAstralUnlocks
CategoryLuaApi
CategoryFunction
CategoryAstralLua
На главную