Пользовательские дополнения
На главную
device.GetRelatedQuestObjectives( deviceId )
Возвращает список целей заданий игрока, которые связаны с указанным устройством.
-- библиотека:
device
-- объявление:
function GetRelatedQuestObjectives( deviceId )
-- параметры:
deviceId: ObjectId (not nil) -- идентификатор устройства
-- возвращаемые значения:
nil or table of ObjectId - если такие цели задании имеются у игрока, то индексированный с 1 список идентификаторов целей заданий. Иначе nil.
-- пример:
local questObjectives = device.GetRelatedQuestObjectives( deviceId )
if questObjectives and questObjectives[ 1 ] then
local info = avatar.GetQuestObjectiveInfo( questObjectives[ 1 ] )
if info then
LogInfo( info.name )
end
end
Search: "CategoryLuaApi" "CategoryDevice"
EnumTurnReason
EnumUsedev
EventBeamCannonShotStarted
EventCannonShotFinished
EventCannonShotPreparationStarted
EventCannonShotStarted
EventChestLooterChanged
EventDeviceActionEffectivenessChanged
EventDeviceActiveActionChanged
EventDeviceCooldownFinished
EventDeviceCooldownsEnableChanged
EventDeviceCooldownStarted
EventDeviceDamageReceived
EventDeviceDeadChanged
EventDeviceOfflineChanged
EventDeviceOfflineReason
EventDeviceRelatedQuestsChanged
EventDevicesChanged
EventDeviceZeroSpeed
EventNavigationScanerHubPveInfo
EventNavigationScanerHubPvpInfo
EventNavigationScanerHubStarted
EventNavigationScanerHubTrailsInfo
EventNavigatorFollowedChanged
EventNavigatorTargetChestsChanged
EventShieldRegenInProgressChanged
EventShieldStrengthChanged
EventUsableDevicesChanged
FunctionAvatarGetActiveUsableDevice
FunctionDeviceCanUse
FunctionDeviceGetCannonTarget
FunctionDeviceGetCooldown
FunctionDeviceGetItemInstalled
FunctionDeviceGetMass
FunctionDeviceGetNavigatorTargetChests
FunctionDeviceGetRelatedQuestObjectives
FunctionDeviceGetShieldStrength
FunctionDeviceGetShipSlotInfo
FunctionDeviceGetTitle
FunctionDeviceGetTransport
FunctionDeviceGetUsableDeviceActionInfo
FunctionDeviceGetUsableDeviceActionsInfo
FunctionDeviceGetUsableDeviceInfo
FunctionDeviceGetUsableDeviceType
FunctionDeviceHasNavigatorFollowedMarker
FunctionDeviceHasRelatedQuestObjectives
FunctionDeviceIsInUse
FunctionDeviceIsOffline
FunctionDeviceIsShieldRegenInProgress
FunctionDeviceIsUsable
FunctionDeviceNavigatorGetTarget
FunctionDeviceNavigatorGetZoomedObject
FunctionDeviceNavigatorSetTarget
FunctionDeviceNavigatorZoom
FunctionTransportGetDevices
CategoryLuaApi
CategoryFunction
CategoryDevice
CategoryQuest
На главную