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

На главную


avatar.IsClientDetectorEnabled( type )

Возвращает состояние детектора интерактивных объектов на клиенте. Это могут быть детекторы квестгиверов, торговцев и т.п. См. avatar.EnableClientDetector( type, enable ).

-- библиотека:
avatar

-- объявление:
function IsClientDetectorEnabled( type )

-- параметры:
type: number (enum CLIENT_DETECTOR_XXX) - тип детектора

-- возвращаемые значения:
boolean - true - включен / false выключен

-- пример:
if avatar.IsClientDetectorEnabled( CLIENT_DETECTOR_QUEST_NPC ) then
  LogInfo( "детектор квестгиверов включен" )
end

Search: "CategoryLuaApi" "CategoryObject"

CategoryObject
EnumVendor
EventCannotAttachWidget3D
EventObjectCombatStatusChanged
EventObjectDetectFinished
EventObjectDetectorListChanged
EventObjectDetectStarted
EventObjectHealthChanged
EventObjectNameChanged
EventObjectSelectableChanged
EventObjectUiinfoChanged
EventPickObject
EventProjectedObjectsChanged
EventQuestMarkUpdated
EventSecretFinisherStatusChanged
FunctionAvatarEnableClientDetector
FunctionAvatarGetDetectedObjects
FunctionAvatarIsClientDetectorEnabled
FunctionObjectAddToProjected
FunctionObjectAttachWidget2D
FunctionObjectAttachWidget3D
FunctionObjectDetachAllWidgets3D
FunctionObjectDetachWidget2D
FunctionObjectDetachWidget3D
FunctionObjectGetBuffInfo
FunctionObjectGetBuffInstances
FunctionObjectGetBuffs
FunctionObjectGetDetectors
FunctionObjectGetHealthInfo
FunctionObjectGetInteractorInfo
FunctionObjectGetInteractorQuests
FunctionObjectGetName
FunctionObjectGetPos
FunctionObjectGetProjectedInfo
FunctionObjectGetUIInfo
FunctionObjectGetWorldSecrets
FunctionObjectHasQuest
FunctionObjectHasWorldSecret
FunctionObjectHighlight
FunctionObjectIsAstralUnit
FunctionObjectIsDead
FunctionObjectIsDetected
FunctionObjectIsDevice
FunctionObjectIsExist
FunctionObjectIsFar
FunctionObjectIsInCombat
FunctionObjectIsInUsageRange
FunctionObjectIsTransport
FunctionObjectIsUnit
FunctionObjectIsUsable
FunctionObjectIsVendor
FunctionObjectRemoveBuff
FunctionObjectRemoveFromProjected
FunctionObjectSetControl3DForProjected
FunctionObjectSetCutTerrainArea
FunctionObjectStartVisualAction
FunctionObjectStopVisualAction


CategoryLuaApi CategoryFunction CategoryAvatar CategoryObject

На главную