Пользовательские дополнения
На главную
object.GetWorldSecrets( objectId )
Возвращает список идентификаторов тайн мира, которые может завершить этот объект. В списке только тайны мира, открытые игроком. То есть объект может быть object.HasWorldSecret(objectId), но иметь пустой список тайн, если ни одна тайна ещё не была открыта (начата для исследования) игроком.
-- библиотека:
object
-- объявление:
function GetWorldSecrets( objectId )
-- параметры:
objectId: ObjectId (not nil) - идентификатор интерактивного объекта
-- возвращаемые значения:
table of ObjectId - индексированный с 0 список идентификаторов тайн мира
-- пример:
local secrets = object.GetWorldSecrets( objectId )
for i, secretId in pairs( secrets ) do
local secretInfo = avatar.GetSecretInfo( secretId )
end
Search: "CategoryLuaApi" "CategoryWorldSecret"
EventSecretClosed
EventSecretComponentClosed
EventSecretFinished
EventSecretFinisherStatusChanged
EventSecretOpened
EventSecretsChanged
FunctionAvatarGetSecretComponents
FunctionAvatarGetSecretInfo
FunctionAvatarGetSecrets
FunctionObjectGetWorldSecrets
FunctionObjectHasWorldSecret
Search: "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
CategoryObject
CategoryWorldSecret
На главную