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

На главную


object.HasWorldSecret( id )

Возвращает true, если интерактивный объект может завершить (и выдать награду) какую-либо тайну мира. Иначе false.

-- библиотека
object

-- объявление
function HasWorldSecret( id )

-- параметры
id: ObjectId - Id объекта. Если передан Id игрока, вернёт false.

-- возвращаемые значения
boolean - true, если объект может завершить тайну мира

-- пример
local canFinishWorldSecret = object.HasWorldSecret( avatar.GetTarget() )

Search: "CategoryLuaApi" "CategoryWorldSecret"

EventSecretClosed
EventSecretComponentClosed
EventSecretFinished
EventSecretFinisherStatusChanged
EventSecretOpened
EventSecretsChanged
FunctionAvatarGetSecretComponents
FunctionAvatarGetSecretInfo
FunctionAvatarGetSecrets
FunctionObjectGetWorldSecrets
FunctionObjectHasWorldSecret

Search: "CategoryLuaApi" "CategoryInteraction"

EnumLearnError
EnumVendor
EventInteractionStarted
EventItemsExchangeDeclineIgnored
EventItemsExchangeError
EventItemsExchangeFinished
EventItemsExchangeInvited
EventItemsExchangeOfferFinalConfirmedChanged
EventItemsExchangeOfferItemsChanged
EventItemsExchangeOfferMoneyChanged
EventItemsExchangeOfferPrimaryConfirmedChanged
EventItemsExchangeSlotIsBusy
EventItemsExchangeStarted
EventItemsExchangeStateChanged
EventTalkStarted
EventTalkStopped
EventTrainerLearnError
EventVendorBuyNotEnoughPlace
EventVendorBuyReputationIsTooSmall
EventVendorBuyRequiredAchievement
EventVendorItemAlreadySold
EventVendorItemNotForSale
EventVendorListUpdated
FunctionAvatarBuy
FunctionAvatarBuyToSlot
FunctionAvatarGetInteractorCue
FunctionAvatarGetInteractorCurrentLocations
FunctionAvatarGetInteractorInfo
FunctionAvatarGetInteractorNextCues
FunctionAvatarGetInteractorTeleportLocations
FunctionAvatarGetInterlocutor
FunctionAvatarGetSecondhandList
FunctionAvatarGetTeleportLocationInfo
FunctionAvatarGetTeleportLocations
FunctionAvatarGetVendorBuyback
FunctionAvatarGetVendorList
FunctionAvatarHasInteractorCue
FunctionAvatarHasInteractorQuest
FunctionAvatarIsInteractorRootCue
FunctionAvatarIsInteractorTrainer
FunctionAvatarIsInteractorVendor
FunctionAvatarIsTalking
FunctionAvatarIsTeleportLocationValid
FunctionAvatarRequestInteractions
FunctionAvatarRequestVendor
FunctionAvatarReturnToStartCue
FunctionAvatarSelectInteractorCue
FunctionAvatarStartInteract
FunctionAvatarStopInteract
FunctionAvatarTeleportToLocation
FunctionInteractionCancelExchange
FunctionInteractionGetExchangeInvited
FunctionInteractionGetExchangeInviter
FunctionInteractionGetExchangeSlotCount
FunctionInteractionHasExchange
FunctionInteractionInviteToExchange
FunctionInteractionIsAvatarExchangeInviter
FunctionInteractionIsExchangeInInvitation
FunctionInteractionIsExchangeInProgress
FunctionInteractionRemoveExchangeItem
FunctionObjectGetInteractorInfo
FunctionObjectHasMobVisual
FunctionObjectHasQuest
FunctionObjectHasWorldSecret
FunctionObjectIsVendor
FunctionUnitGetTrainerClass
FunctionUnitIsTrainer
ItemsExchangeState


CategoryLuaApi CategoryFunction CategoryInteraction CategoryWorldSecret CategoryObject

На главную