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

На главную


astral.GetSectorDirectPOI( sectorId )

Возвращает идентификатор точки астрального эвента в заданном секторе, к которому мы хотим совершить "прямой" прыжок, т.е. не выбирая другие варианты.

-- система:
-- библиотека:
astral

-- объявление:
function GetSectorDirectPOI( sectorId )

-- параметры:
sectorId: ObjectId - идентификатор сектора

-- возвращаемые значения:
ObjectId or nil - идентификатор точки астрального эвента в этом секторе, к которому мы хотим выполнить прыжок

-- пример:
local directPoi = astral.GetSectorDirectPOI( sectorId )
if directPoi then
  local poiInfo = astral.GetPOIInfo( directPoi )
  if poiInfo then
    LogInfo( poiInfo.name )
  end
end

Связанные страницы: "CategoryLuaApi" "CategoryAstralLua"

EnumFailType
EventAstralHubChanged
EventAstralIslandChanged
EventAstralIslandTimeChanged
EventAstralObjectEnabledChanged
EventAstralPoisChanged
EventAstralSectorChanged
EventAstralSectorCheckJumpResult
EventAstralWreckLootTaken
EventAstrolabeInfoChanged
EventAstrolabeSpellChanged
EventAstrolabeSpellEffect
EventIslandDeathLimitChanged
EventPlayerAstralUnlockChanged
EventScannedHubObjectsChanged
FunctionAstralAstrolabeJump
FunctionAstralCheckJump
FunctionAstralGetAddonInfo
FunctionAstralGetAddons
FunctionAstralGetAddonSectors
FunctionAstralGetAllPOIs
FunctionAstralGetAllSectorsObsolete
FunctionAstralGetAllTLsObsolete
FunctionAstralGetAstrolabeDeniedPlayers
FunctionAstralGetAstrolabeInfo
FunctionAstralGetAstrolabeInfoEx
FunctionAstralGetAstrolabeTarget
FunctionAstralGetCurrentSector
FunctionAstralGetHubCenter
FunctionAstralGetHubRadius
FunctionAstralGetIslandCollapseTime
FunctionAstralGetIslandDeathLimit
FunctionAstralGetObjectInfo
FunctionAstralGetObjects
FunctionAstralGetPlayerUnlockLevel
FunctionAstralGetPOIInfo
FunctionAstralGetPOITradeInfo
FunctionAstralGetScannedObjects
FunctionAstralGetSectorAstrolabeInfo
FunctionAstralGetSectorDirectPOI
FunctionAstralGetSectorEdges
FunctionAstralGetSectorEdgesById
FunctionAstralGetSectorEdgesObsolete
FunctionAstralGetSectorInfo
FunctionAstralGetSectorInfoById
FunctionAstralGetSectorPOIs
FunctionAstralGetSectorRelatedQuests
FunctionAstralGetUnits
FunctionAstralIsSectorKnownForGroup
FunctionAstralIsSectorKnownForPlayer


CategoryLuaApi CategoryFunction CategoryAstralLua

На главную