Пользовательские дополнения
На главную
avatar.GetDetectedObjects()
Возвращает список Id объектов (устройство или юнит), отслеживаемых аватаром на карте c помощью специального умения.
-- библиотека:
avatar
-- объявление:
function GetDetectedObjects()
-- параметры:
нет
-- возвращаемые значения:
table of ObjectId – идентификаторы отслеживаемых объектов (устройство или юнит)
-- пример:
local detectedObjects = avatar.GetDetectedObjects()
for i, objectId in detectedObjects do
local pos = debugMission.UnitGetPos( objectId )
local detectors = object.GetDetectors( objectId )
end
Search: "CategoryLuaApi" "CategoryObject"
EnumVendor
EventCannotAttachWidget3D
EventObjectDetectFinished
EventObjectDetectorListChanged
EventObjectDetectStarted
EventPickObject
EventProjectedObjectChanged
EventQuestMarkUpdated
EventSecretFinisherStatusChanged
FunctionAvatarEnableClientDetector
FunctionAvatarGetDetectedObjects
FunctionAvatarIsClientDetectorEnabled
FunctionObjectAddToProjected
FunctionObjectAttachVisibleObject
FunctionObjectAttachWidget2D
FunctionObjectAttachWidget3D
FunctionObjectDetachWidget2D
FunctionObjectDetachWidget3D
FunctionObjectGetDetectors
FunctionObjectGetInteractorInfo
FunctionObjectGetName
FunctionObjectGetPos
FunctionObjectGetProjectedInfo
FunctionObjectGetQuestMark
FunctionObjectGetWorldSecrets
FunctionObjectHasOnlyRepeatableQuests
FunctionObjectHasQuest
FunctionObjectHasWorldSecret
FunctionObjectHighlight
FunctionObjectIsAstralUnit
FunctionObjectIsDevice
FunctionObjectIsExist
FunctionObjectIsInUsageRange
FunctionObjectIsTransport
FunctionObjectIsUnit
FunctionObjectIsUsable
FunctionObjectIsVendor
FunctionObjectRemoveFromProjected
FunctionObjectSetControl3DForProjected
FunctionObjectSetCutTerrainArea
FunctionObjectUse
CategoryLuaApi
CategoryFunction
CategoryAvatar
CategoryObject
На главную