Пользовательские дополнения
На главную
device.NavigatorSetTarget( objectId )
Если главный игрок использует навигационное устройство ( тип устройства - USDEV_NAVIGATOR), то он может выбрать или сбросить цель, отслеживаемую навигатором. Информация об этой цели начнет передаваться для всех членов команды игрока.
ВНИМАНИЕ! Для сторонних аддонов есть ограничения:
1. Этот метод будет работать только в обработчиках реакции на действия (не перемещение) мыши, т.е. на нажатие кнопки.
См. также EVENT_TRANSPORT_OBSERVING_STARTED, EVENT_TRANSPORT_OBSERVING_FINISHED.
-- библиотека:
device
-- объявление:
function NavigatorSetTarget( objectId )
-- параметры:
objectId: ObjectId or nil - идентификатор транспорта или астрального юнита, или nil, если надо сбросить цель
-- возвращаемые значения -
нет
-- пример:
device.NavigatorSetTarget( nil )
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
CategoryTransport
CategoryAllowedInReactions
На главную