Пользовательские дополнения
На главную
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
FunctionAvatarGetSecretComponents
FunctionAvatarGetSecretInfo
FunctionAvatarGetSecrets
FunctionObjectGetWorldSecrets
FunctionObjectHasWorldSecret
Search: "CategoryLuaApi" "CategoryInteraction"
EnumLearnError
EnumVendor
EventInteractionStarted
EventItemsExchangeCanceled
EventItemsExchangeCompleted
EventItemsExchangeDeclineIgnored
EventItemsExchangeError
EventItemsExchangeInvited
EventItemsExchangeOfferFinalConfirmedChanged
EventItemsExchangeOfferItemsChanged
EventItemsExchangeOfferMoneyChanged
EventItemsExchangeOfferPrimaryConfirmedChanged
EventItemsExchangeSlotIsBusy
EventItemsExchangeStarted
EventItemsExchangeStateChanged
EventKnownTeleportLocationUpdated
EventTalkStarted
EventTalkStopped
EventTrainerLearnError
EventTrainerNotEnoughMoney
EventVendorBuyNotEnoughPlace
EventVendorBuyReputationIsTooSmall
EventVendorItemAlreadySold
EventVendorItemNotForSale
EventVendorListUpdated
FunctionAvatarBuy
FunctionAvatarBuyToSlot
FunctionAvatarGetInteractorCue
FunctionAvatarGetInteractorCurrentLocations
FunctionAvatarGetInteractorInfo
FunctionAvatarGetInteractorNextCues
FunctionAvatarGetInteractorTeleportLocations
FunctionAvatarGetInterlocutor
FunctionAvatarGetTeleportLocationInfo
FunctionAvatarGetTeleportLocations
FunctionAvatarGetVendorBuyback
FunctionAvatarGetVendorList
FunctionAvatarHasInteractorCue
FunctionAvatarHasInteractorQuest
FunctionAvatarIsInteractorRootCue
FunctionAvatarIsInteractorTrainer
FunctionAvatarIsInteractorVendor
FunctionAvatarIsTalking
FunctionAvatarRequestInteractions
FunctionAvatarRequestVendor
FunctionAvatarReturnToStartCue
FunctionAvatarSelectInteractorCue
FunctionAvatarSellItemToVendor
FunctionAvatarStartInteract
FunctionAvatarStopInteract
FunctionAvatarTeleportToLocation
FunctionInteractionCancelExchange
FunctionInteractionGetExchangeInvited
FunctionInteractionGetExchangeInviter
FunctionInteractionGetExchangeSlotCount
FunctionInteractionHasExchange
FunctionInteractionInviteToExchange
FunctionInteractionIsAvatarExchangeInviter
FunctionInteractionIsExchangeInInvitation
FunctionInteractionIsExchangeInProgress
FunctionInteractionRemoveExchangeItem
FunctionObjectGetInteractorInfo
FunctionObjectHasQuest
FunctionObjectHasWorldSecret
FunctionObjectIsVendor
FunctionUnitGetTrainerClass
FunctionUnitIsTrainer
CategoryLuaApi
CategoryFunction
CategoryInteraction
CategoryWorldSecret
CategoryObject
На главную