Пользовательские дополнения
На главную
avatar.GetDetectedObjects()
Возвращает список Id объектов (устройство или юнит), отслеживаемых главным игроком на карте.
-- библиотека:
avatar
-- объявление:
function GetDetectedObjects()
-- параметры:
нет
-- возвращаемые значения:
table of ObjectId – список (индексирован с 1) идентификаторов отслеживаемых объектов (устройств или кричей)
-- пример:
local detectedObjects = avatar.GetDetectedObjects()
for i, objectId in ipairs( detectedObjects ) do
local detectors = object.GetDetectors( objectId )
end
Связанные страницы: "CategoryLuaApi" "CategoryObject"
CategoryObject
EnumDiminishingGroup
EnumUIBuffPriority
EnumVendor
EventCannotAttachWidget3D
EventObjectCombatStatusChanged
EventObjectDetectFinished
EventObjectDetectorListChanged
EventObjectDetectStarted
EventObjectDiminishingChanged
EventObjectDiminishingGroupChanged
EventObjectHealthChanged
EventObjectManaChanged
EventObjectNameChanged
EventObjectSelectableChanged
EventObjectsHealthChanged
EventObjectUiinfoRemoved
EventPickObject
EventProjectedObjectsChanged
EventQuestMarkUpdated
EventSecretFinisherStatusChanged
FunctionAvatarEnableClientDetector
FunctionAvatarGetDetectedObjects
FunctionAvatarIsClientDetectorEnabled
FunctionObjectAddToProjected
FunctionObjectAttachWidget2D
FunctionObjectAttachWidget3D
FunctionObjectCanAttack
FunctionObjectDetachAllWidgets3D
FunctionObjectDetachWidget2D
FunctionObjectDetachWidget3D
FunctionObjectGetBuffBySysName
FunctionObjectGetBuffDynamicInfo
FunctionObjectGetBuffInfo
FunctionObjectGetBuffInstances
FunctionObjectGetBuffRanks
FunctionObjectGetBuffs
FunctionObjectGetBuffsInfo
FunctionObjectGetBuffsWithProperties
FunctionObjectGetBuffSysName
FunctionObjectGetBuffTooltipInfo
FunctionObjectGetDetectors
FunctionObjectGetDiminishingState
FunctionObjectGetDistance
FunctionObjectGetHealthInfo
FunctionObjectGetInstantProjectedInfo
FunctionObjectGetInteractorInfo
FunctionObjectGetInteractorQuests
FunctionObjectGetManaInfo
FunctionObjectGetName
FunctionObjectGetPos
FunctionObjectGetProjectedInfo
FunctionObjectGetWorldSecrets
FunctionObjectHasBuffManager
FunctionObjectHasMobVisual
FunctionObjectHasQuest
FunctionObjectHasWorldSecret
FunctionObjectHighlight
FunctionObjectIsAstralUnit
FunctionObjectIsDead
FunctionObjectIsDetected
FunctionObjectIsDevice
FunctionObjectIsEnemy
FunctionObjectIsExist
FunctionObjectIsFar
FunctionObjectIsFriend
FunctionObjectIsInCombat
FunctionObjectIsInUsageRange
FunctionObjectIsTransport
FunctionObjectIsUnit
FunctionObjectIsUsable
FunctionObjectIsValidBuff
FunctionObjectIsVendor
FunctionObjectRemoveBuff
FunctionObjectRemoveFromProjected
FunctionObjectSetControl3DForProjected
FunctionObjectSetCutTerrainArea
FunctionObjectStartVisualAction
FunctionObjectStopVisualAction
CategoryLuaApi
CategoryFunction
CategoryAvatar
CategoryObject
На главную