This page contains automatically generated and alphabetically sorted lists of global functions usable in the World of Warcraft scripting engine. It does not and will not contain short descriptions, please see the World of Warcraft API for that.
Its main purpose is to be an authorative (insofar that this is possible) list of what functions actually exist, and a source to select from when editing the World of Warcraft API page.
Changes
This list is current as of patch 1.11.0. For a complete description of changes, see http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=343889&p=1
Changes from 1.10.x to 1.11.0
The following functions are new:
- ActionHasRange
- CanShowResetInstances
- CheckReadyCheckTime
- ConfirmReadyCheck
- DoReadyCheck
- GMSurveyAnswerSubmit
- GMSurveyCommentSubmit
- GMSurveyQuestion
- GMSurveySubmit
- GetAddOnMetadata
- GetNumSavedInstances
- GetPlayerBuffDispelType
- GetRaidTargetIndex
- GetSavedInstanceInfo
- HasKey
- IsInInstance
- KeyRingButtonIDToInvSlotID
- ResetInstances
- SetRaidTarget
Main Game Functions
This is a list of global functions internal to WoW that are exposed to Lua scripts. The list also includes standard global Lua functions as well as those global functions that map to standard Lua library functions.
Functions in bold are not on the World of Warcraft API page as of 28 Aug 2006
- AbandonQuest
- AbandonSkill
- AcceptAreaSpiritHeal
- AcceptBattlefieldPort
- AcceptDuel
- AcceptGroup
- AcceptGuild
- AcceptQuest
- AcceptResurrect
- AcceptSkillUps
- AcceptTrade
- AcceptXPLoss
- ActionHasRange
- AddChatWindowChannel
- AddChatWindowMessages
- AddFriend
- AddIgnore
- AddOrDelIgnore
- AddQuestWatch
- AddSkillUp
- AddTradeMoney
- AppendToFile
- AssistByName
- AssistUnit
- AttackTarget
- AutoEquipCursorItem
- BankButtonIDToInvSlotID
- BeginTrade
- BindEnchant
- BuyGuildCharter
- BuyMerchantItem
- BuyRandomPicks
- BuySkillTier
- BuyStableSlot
- BuyTrainerService
- BuybackItem
- CalculateAuctionDeposit
- CameraOrSelectOrMoveStart
- CameraOrSelectOrMoveStop
- CameraZoomIn
- CameraZoomOut
- CanEditGuildInfo
- CanEditMOTD
- CanEditOfficerNote
- CanEditPublicNote
- CanGuildDemote
- CanGuildInvite
- CanGuildPromote
- CanGuildRemove
- CanInspect
- CanJoinBattlefieldAsGroup
- CanMerchantRepair
- CanSendAuctionQuery
- CanShowResetInstances
- CanSignPetition
- CanViewOfficerNote
- CancelAreaSpiritHeal
- CancelAuction
- CancelDuel
- CancelLogout
- CancelMeetingStoneRequest
- CancelPendingEquip
- CancelPlayerBuff
- CancelSkillUps
- CancelTrackingBuff
- CancelTrade
- CancelTradeAccept
- CastPetAction
- CastShapeshiftForm
- CastSpell
- CastSpellByName
- ChangeActionBarPage
- ChangeChatColor
- ChannelBan
- ChannelInvite
- ChannelKick
- ChannelModerate
- ChannelModerator
- ChannelMute
- ChannelToggleAnnouncements
- ChannelUnban
- ChannelUnmoderator
- ChannelUnmute
- CheckBinderDist
- CheckInbox
- CheckInteractDistance
- CheckPetUntrainerDist
- CheckReadyCheckTime
- CheckSpiritHealerDist
- CheckTalentMasterDist
- ClearCursor
- ClearInspectPlayer
- ClearSendMail
- ClearTarget
- ClearTutorials
- ClickAuctionSellItemButton
- ClickSendMailItemButton
- ClickStablePet
- ClickTargetTradeButton
- ClickTradeButton
- CloseAuctionHouse
- CloseBankFrame
- CloseBattlefield
- CloseCraft
- CloseGossip
- CloseGuildRegistrar
- CloseGuildRoster
- CloseItemText
- CloseLoot
- CloseLottery
- CloseMail
- CloseMerchant
- ClosePetStables
- ClosePetition
- CloseQuest
- CloseTabardCreation
- CloseTaxiMap
- CloseTrade
- CloseTradeSkill
- CloseTrainer
- CollapseCraftSkillLine
- CollapseFactionHeader
- CollapseQuestHeader
- CollapseSkillHeader
- CollapseTradeSkillSubClass
- CollapseTrainerSkillLine
- CompleteQuest
- ConfirmAcceptQuest
- ConfirmBindOnUse
- ConfirmBinder
- ConfirmLootRoll
- ConfirmPetUnlearn
- ConfirmReadyCheck
- ConfirmSummon
- ConfirmTalentWipe
- ConsoleExec
- ContainerIDToInventoryID
- ConvertToRaid
- CreateFont
- CreateFrame
- CreateMacro
- CreateMiniWorldMapArrowFrame
- CreateWorldMapArrowFrame
- CursorCanGoInSlot
- CursorHasItem
- CursorHasMoney
- CursorHasSpell
- DeclineGroup
- DeclineGuild
- DeclineQuest
- DeclineResurrect
- DelIgnore
- DeleteCursorItem
- DeleteFile
- DeleteGMTicket
- DeleteInboxItem
- DeleteMacro
- DemoteAssistant
- DisableAddOn
- DisableAllAddOns
- DisplayChannelOwner
- DoCraft
- DoEmote
- DoReadyCheck
- DoTradeSkill
- DropCursorMoney
- DropItemOnUnit
- EditMacro
- EnableAddOn
- EnableAllAddOns
- EnumerateFrames
- EnumerateServerChannels
- EquipCursorItem
- EquipPendingItem
- ExpandCraftSkillLine
- ExpandFactionHeader
- ExpandQuestHeader
- ExpandSkillHeader
- ExpandTradeSkillSubClass
- ExpandTrainerSkillLine
- FactionToggleAtWar
- FlagTutorial
- FlipCameraYaw
- FollowByName
- FollowUnit
- ForceLogout
- ForceQuit
- FrameXML_Debug
- GMRequestPlayerInfo
- GMSurveyAnswerSubmit
- GMSurveyCommentSubmit
- GMSurveyQuestion
- GMSurveySubmit
- GetAbandonQuestName
- GetActionAutocast
- GetActionBarToggles
- GetActionCooldown
- GetActionCount
- GetActionText
- GetActionTexture
- GetActiveLevel
- GetActiveTitle
- GetAddOnDependencies
- GetAddOnInfo
- GetAddOnMetadata
- GetAdjustedSkillPoints
- GetAreaSpiritHealerTime
- GetAuctionHouseDepositRate
- GetAuctionInvTypes
- GetAuctionItemClasses
- GetAuctionItemInfo
- GetAuctionItemLink
- GetAuctionItemSubClasses
- GetAuctionItemTimeLeft
- GetAuctionSellItemInfo
- GetAvailableLevel
- GetAvailableTitle
- GetBagName
- GetBankSlotCost
- GetBaseMip
- GetBattlefieldEstimatedWaitTime
- GetBattlefieldFlagPosition
- GetBattlefieldInfo
- GetBattlefieldInstanceExpiration
- GetBattlefieldInstanceInfo
- GetBattlefieldInstanceRunTime
- GetBattlefieldMapIconScale
- GetBattlefieldPortExpiration
- GetBattlefieldPosition
- GetBattlefieldScore
- GetBattlefieldStatData
- GetBattlefieldStatInfo
- GetBattlefieldStatus
- GetBattlefieldTimeWaited
- GetBattlefieldWinner
- GetBidderAuctionItems
- GetBillingTimeRested
- GetBindLocation
- GetBinding
- GetBindingAction
- GetBindingKey
- GetBlockChance
- GetBonusBarOffset
- GetBuildInfo
- GetBuybackItemInfo
- GetCVar
- GetCVarDefault
- GetChannelList
- GetChannelName
- GetChatTypeIndex
- GetChatWindowChannels
- GetChatWindowInfo
- GetChatWindowMessages
- GetCoinIcon
- GetComboPoints
- GetContainerItemCooldown
- GetContainerItemInfo
- GetContainerItemLink
- GetContainerNumSlots
- GetCorpseMapPosition
- GetCorpseRecoveryDelay
- GetCraftButtonToken
- GetCraftDescription
- GetCraftDisplaySkillLine
- GetCraftIcon
- GetCraftInfo
- GetCraftItemLink
- GetCraftName
- GetCraftNumReagents
- GetCraftReagentInfo
- GetCraftReagentItemLink
- GetCraftSelectionIndex
- GetCraftSkillLine
- GetCraftSpellFocus
- GetCurrentBindingSet
- GetCurrentMapContinent
- GetCurrentMapZone
- GetCurrentMultisampleFormat
- GetCurrentResolution
- GetCursorMoney
- GetCursorPosition
- GetDamageBonusStat
- GetDebugStats
- GetDefaultLanguage
- GetDodgeChance
- GetDoodadAnim
- GetFactionInfo
- GetFarclip
- GetFirstTradeSkill
- GetFramerate
- GetFriendInfo
- GetGMStatus
- GetGMTicket
- GetGMTicketCategories
- GetGameTime
- GetGamma
- GetGossipActiveQuests
- GetGossipAvailableQuests
- GetGossipOptions
- GetGossipText
- GetGreetingText
- GetGuildCharterCost
- GetGuildInfo
- GetGuildInfoText
- GetGuildRecruitmentMode
- GetGuildRosterInfo
- GetGuildRosterLastOnline
- GetGuildRosterMOTD
- GetGuildRosterSelection
- GetGuildRosterShowOffline
- GetIgnoreName
- GetInboxHeaderInfo
- GetInboxInvoiceInfo
- GetInboxItem
- GetInboxNumItems
- GetInboxText
- GetInspectHonorData
- GetInspectPVPRankProgress
- GetInstanceBootTimeRemaining
- GetInventoryAlertStatus
- GetInventoryItemBroken
- GetInventoryItemCooldown
- GetInventoryItemCount
- GetInventoryItemLink
- GetInventoryItemQuality
- GetInventoryItemTexture
- GetInventorySlotInfo
- GetItemInfo
- GetItemQualityColor
- GetJackpotAmount
- GetLFGResults
- GetLFGTypeEntries
- GetLFGTypes
- GetLanguageByIndex
- GetLastLotteryNumbers
- GetLocale
- GetLookingForGroup
- GetLootMethod
- GetLootRollItemInfo
- GetLootRollItemLink
- GetLootRollTimeLeft
- GetLootSlotInfo
- GetLootSlotLink
- GetLootThreshold
- GetLotteryPrizeInfo
- GetMacroIconInfo
- GetMacroIndexByName
- GetMacroInfo
- GetMapContinents
- GetMapInfo
- GetMapLandmarkInfo
- GetMapOverlayInfo
- GetMapZones
- GetMasterLootCandidate
- GetMeetingStoneStatusText
- GetMerchantItemInfo
- GetMerchantItemLink
- GetMerchantItemMaxStack
- GetMerchantNumItems
- GetMinigameState
- GetMinigameType
- GetMinimapZoneText
- GetMoney
- GetMoneyPrizes
- GetMouseFocus
- GetMultisampleFormats
- GetNetStats
- GetNextDrawTime
- GetNextStableSlotCost
- GetNumActiveQuests
- GetNumAddOns
- GetNumAuctionItems
- GetNumAvailableQuests
- GetNumBankSlots
- GetNumBattlefieldFlagPositions
- GetNumBattlefieldPositions
- GetNumBattlefieldScores
- GetNumBattlefieldStats
- GetNumBattlefields
- GetNumBindings
- GetNumBuybackItems
- GetNumCrafts
- GetNumFactions
- GetNumFrames
- GetNumFriends
- GetNumGuildMembers
- GetNumIgnores
- GetNumLFGResults
- GetNumLaguages
- GetNumLootItems
- GetNumLotteryPrizes
- GetNumMacroIcons
- GetNumMacros
- GetNumMapLandmarks
- GetNumMapOverlays
- GetNumPackages
- GetNumPartyMembers
- GetNumPastDrawResults
- GetNumPetitionNames
- GetNumQuestChoices
- GetNumQuestItems
- GetNumQuestLeaderBoards
- GetNumQuestLogChoices
- GetNumQuestLogEntries
- GetNumQuestLogRewards
- GetNumQuestRewards
- GetNumQuestWatches
- GetNumRaidMembers
- GetNumRoutes
- GetNumSavedInstances
- GetNumShapeshiftForms
- GetNumSkillLines
- GetNumSpellTabs
- GetNumStablePets
- GetNumStableSlots
- GetNumStationeries
- GetNumTalentTabs
- GetNumTalents
- GetNumTradeSkills
- GetNumTrainerServices
- GetNumWhoResults
- GetNumWorldStateUI
- GetObjectiveText
- GetOwnerAuctionItems
- GetPVPLastWeekStats
- GetPVPLifetimeStats
- GetPVPRankInfo
- GetPVPRankProgress
- GetPVPSessionStats
- GetPVPThisWeekStats
- GetPVPYesterdayStats
- GetPackageInfo
- GetParryChance
- GetPartyLeaderIndex
- GetPartyMember
- GetPastDrawResult
- GetPetActionCooldown
- GetPetActionInfo
- GetPetActionsUsable
- GetPetExperience
- GetPetFoodTypes
- GetPetHappiness
- GetPetIcon
- GetPetLoyalty
- GetPetTimeRemaining
- GetPetTrainingPoints
- GetPetitionInfo
- GetPetitionNameInfo
- GetPlayerBuff
- GetPlayerBuffApplications
- GetPlayerBuffDispelType
- GetPlayerBuffTexture
- GetPlayerBuffTimeLeft
- GetPlayerMapPosition
- GetPlayerTradeMoney
- GetProgressText
- GetQuestBackgroundMaterial
- GetQuestGreenRange
- GetQuestIndexForTimer
- GetQuestIndexForWatch
- GetQuestItemInfo
- GetQuestItemLink
- GetQuestLogChoiceInfo
- GetQuestLogItemLink
- GetQuestLogLeaderBoard
- GetQuestLogPushable
- GetQuestLogQuestText
- GetQuestLogRequiredMoney
- GetQuestLogRewardInfo
- GetQuestLogRewardMoney
- GetQuestLogRewardSpell
- GetQuestLogSelection
- GetQuestLogTimeLeft
- GetQuestLogTitle
- GetQuestMoneyToGet
- GetQuestReward
- GetQuestText
- GetQuestTimers
- GetRaidRosterInfo
- GetRaidRosterSelection
- GetRaidTargetIndex
- GetRealZoneText
- GetRealmName
- GetRefreshRates
- GetReleaseTimeRemaining
- GetRepairAllCost
- GetResSicknessDuration
- GetRestState
- GetRewardMoney
- GetRewardSpell
- GetRewardText
- GetSavedInstanceInfo
- GetScreenHeight
- GetScreenResolutions
- GetScreenWidth
- GetSelectedAuctionItem
- GetSelectedBattlefield
- GetSelectedFaction
- GetSelectedFriend
- GetSelectedIgnore
- GetSelectedSkill
- GetSelectedStablePet
- GetSelectedStationeryTexture
- GetSendMailCOD
- GetSendMailItem
- GetSendMailMoney
- GetSendMailPrice
- GetShapeshiftFormCooldown
- GetShapeshiftFormInfo
- GetSkillLineInfo
- GetSpellAutocast
- GetSpellCooldown
- GetSpellName
- GetSpellTabInfo
- GetSpellTexture
- GetStablePetFoodTypes
- GetStablePetInfo
- GetStationeryInfo
- GetSubZoneText
- GetSummonConfirmAreaName
- GetSummonConfirmSummoner
- GetSummonConfirmTimeLeft
- GetTabardCreationCost
- GetTabardInfo
- GetTalentInfo
- GetTalentPrereqs
- GetTalentTabInfo
- GetTargetTradeMoney
- GetTerrainMip
- GetTexLodBias
- GetTime
- GetTimeToWellRested
- GetTitleText
- GetTrackingTexture
- GetTradePlayerItemInfo
- GetTradePlayerItemLink
- GetTradeSkillCooldown
- GetTradeSkillIcon
- GetTradeSkillInfo
- GetTradeSkillInvSlotFilter
- GetTradeSkillInvSlots
- GetTradeSkillItemLink
- GetTradeSkillItemStats
- GetTradeSkillLine
- GetTradeSkillNumMade
- GetTradeSkillNumReagents
- GetTradeSkillReagentInfo
- GetTradeSkillReagentItemLink
- GetTradeSkillSelectionIndex
- GetTradeSkillSubClassFilter
- GetTradeSkillSubClasses
- GetTradeSkillTools
- GetTradeTargetItemInfo
- GetTradeTargetItemLink
- GetTradeskillRepeatCount
- GetTrainerGreetingText
- GetTrainerSelectionIndex
- GetTrainerServiceAbilityReq
- GetTrainerServiceCost
- GetTrainerServiceDescription
- GetTrainerServiceIcon
- GetTrainerServiceInfo
- GetTrainerServiceLevelReq
- GetTrainerServiceNumAbilityReq
- GetTrainerServiceSkillLine
- GetTrainerServiceSkillReq
- GetTrainerServiceStepIncrease
- GetTrainerServiceStepReq
- GetTrainerServiceTypeFilter
- GetTrainerSkillLineFilter
- GetTrainerSkillLines
- GetVideoCaps
- GetWatchedFactionInfo
- GetWaterDetail
- GetWeaponEnchantInfo
- GetWhoInfo
- GetWorldDetail
- GetWorldLocMapPosition
- GetWorldStateUIInfo
- GetXPExhaustion
- GetZonePVPInfo
- GetZoneText
- GiveMasterLoot
- GuildControlAddRank
- GuildControlDelRank
- GuildControlGetNumRanks
- GuildControlGetRankFlags
- GuildControlGetRankName
- GuildControlSaveRank
- GuildControlSetRank
- GuildControlSetRankFlag
- GuildDemoteByName
- GuildDisband
- GuildInfo
- GuildInviteByName
- GuildLeave
- GuildPromoteByName
- GuildRoster
- GuildRosterSetOfficerNote
- GuildRosterSetPublicNote
- GuildSetLeaderByName
- GuildSetMOTD
- GuildUninviteByName
- HasAction
- HasFullControl
- HasInspectHonorData
- HasKey
- HasNewMail
- HasPetSpells
- HasPetUI
- HasSoulstone
- HasWandEquipped
- HideFriendNameplates
- HideNameplates
- HideRepairCursor
- InCinematic
- InRepairMode
- InboxItemCanDelete
- InitiateTrade
- InviteByName
- InviteToParty
- IsActionInRange
- IsAddOnLoadOnDemand
- IsAddOnLoaded
- IsAltKeyDown
- IsAttackAction
- IsAuctionSortReversed
- IsAutoRepeatAction
- IsConsumableAction
- IsControlKeyDown
- IsCurrentAction
- IsCurrentCast
- IsCurrentQuestFailed
- IsEquippedAction
- IsFactionInactive
- IsFishingLoot
- IsGuildLeader
- IsInGuild
- IsInInstance
- IsInMeetingStoneQueue
- IsInventoryItemLocked
- IsLinuxClient
- IsMacClient
- IsMouselooking
- IsPartyLeader
- IsPetAttackActive
- IsQuestCompletable
- IsQuestWatched
- IsRaidLeader
- IsRaidOfficer
- IsResting
- IsShiftKeyDown
- IsSpellPassive
- IsTalentTrainer
- IsTradeskillTrainer
- IsTrainerServiceLearnSpell
- IsTrainerServiceSkillStep
- IsTrainerServiceTradeSkill
- IsUnitOnQuest
- IsUsableAction
- IsVendorActive
- IsWindowsClient
- ItemTextGetCreator
- ItemTextGetItem
- ItemTextGetMaterial
- ItemTextGetPage
- ItemTextGetText
- ItemTextHasNextPage
- ItemTextNextPage
- ItemTextPrevPage
- JoinBattlefield
- JoinChannelByName
- Jump
- KeyRingButtonIDToInvSlotID
- LFGQuery
- LearnTalent
- LeaveBattlefield
- LeaveChannelByName
- LeaveParty
- ListChannelByName
- ListChannels
- LoadAddOn
- LoadBindings
- LoggingChat
- LoggingCombat
- Logout
- LootSlot
- LootSlotIsCoin
- LootSlotIsItem
- MakeMinigameMove
- MouselookStart
- MouselookStop
- MoveBackwardStart
- MoveBackwardStop
- MoveForwardStart
- MoveForwardStop
- MoveViewDownStart
- MoveViewDownStop
- MoveViewInStart
- MoveViewInStop
- MoveViewLeftStart
- MoveViewLeftStop
- MoveViewOutStart
- MoveViewOutStop
- MoveViewRightStart
- MoveViewRightStop
- MoveViewUpStart
- MoveViewUpStop
- NewGMTicket
- NextView
- NoPlayTime
- NotWhileDeadError
- NotifyInspect
- NumTaxiNodes
- OfferPetition
- OffhandHasWeapon
- OpenTrainer
- OpeningCinematic
- PartialPlayTime
- PetAbandon
- PetAggressiveMode
- PetAttack
- PetCanBeAbandoned
- PetCanBeRenamed
- PetDefensiveMode
- PetDismiss
- PetFollow
- PetHasActionBar
- PetPassiveMode
- PetRename
- PetStopAttack
- PetWait
- PickupAction
- PickupBagFromSlot
- PickupContainerItem
- PickupInventoryItem
- PickupMacro
- PickupMerchantItem
- PickupPetAction
- PickupPlayerMoney
- PickupSpell
- PickupStablePet
- PickupTradeMoney
- PitchDownStart
- PitchDownStop
- PitchUpStart
- PitchUpStop
- PlaceAction
- PlaceAuctionBid
- PlayMusic
- PlaySound
- PlaySoundFile
- PlayerHasSpells
- PositionMiniWorldMapArrowFrame
- PositionWorldMapArrowFrame
- PrevView
- ProcessMapClick
- PromoteByName
- PromoteToAssistant
- PromoteToPartyLeader
- PurchaseSlot
- PutItemInBackpack
- PutItemInBag
- QueryAuctionItems
- QuestChooseRewardError
- QuestLogPushQuest
- Quit
- RandomRoll
- ReadFile
- RegisterCVar
- RegisterForSave
- ReloadUI
- RemoveChatWindowChannel
- RemoveChatWindowMessages
- RemoveFriend
- RemoveQuestWatch
- RemoveSkillUp
- RenamePetition
- RepairAllItems
- ReplaceEnchant
- ReplaceTradeEnchant
- RepopMe
- RequestBattlefieldPositions
- RequestBattlefieldScoreData
- RequestInspectHonorData
- RequestRaidInfo
- RequestTimePlayed
- ResetChatColors
- ResetCursor
- ResetDisabledAddOns
- ResetInstances
- ResetPerformanceValues
- ResetTutorials
- ResetView
- RestartGx
- RestoreVideoDefaults
- ResurrectHasSickness
- ResurrectHasTimer
- RetrieveCorpse
- ReturnInboxItem
- RollOnLoot
- RunBinding
- RunScript
- SaveBindings
- SaveView
- Screenshot
- SelectActiveQuest
- SelectAvailableQuest
- SelectCraft
- SelectGossipActiveQuest
- SelectGossipAvailableQuest
- SelectGossipOption
- SelectPackage
- SelectQuestLogEntry
- SelectStationery
- SelectTradeSkill
- SelectTrainerService
- SendAddonMessage
- SendChatMessage
- SendMail
- SendWho
- SetAbandonQuest
- SetActionBarToggles
- SetBagPortaitTexture
- SetBaseMip
- SetBattlefieldScoreFaction
- SetBinding
- SetCVar
- SetChannelOwner
- SetChannelPassword
- SetChatWindowAlpha
- SetChatWindowColor
- SetChatWindowDocked
- SetChatWindowLocked
- SetChatWindowName
- SetChatWindowShown
- SetChatWindowSize
- SetConsoleKey
- SetCursor
- SetDoodadAnim
- SetEuropeanNumbers
- SetFactionActive
- SetFactionInactive
- SetFarclip
- SetGamma
- SetGuildInfoText
- SetGuildRecruitmentMode
- SetGuildRosterSelection
- SetGuildRosterShowOffline
- SetInventoryPortaitTexture
- SetLayoutMode
- SetLookingForGroup
- SetLootMethod
- SetLootPortrait
- SetLootThreshold
- SetMapToCurrentZone
- SetMapZoom
- SetMultisampleFormat
- SetPetStablePaperdoll
- SetPortraitTexture
- SetPortraitToTexture
- SetRaidRosterSelection
- SetRaidSubgroup
- SetRaidTarget
- SetScreenResolution
- SetSelectedAuctionItem
- SetSelectedBattlefield
- SetSelectedFaction
- SetSelectedFriend
- SetSelectedIgnore
- SetSelectedSkill
- SetSendMailCOD
- SetSendMailMoney
- SetTaxiMap
- SetTerrainMip
- SetTexLodBias
- SetTradeMoney
- SetTradeSkillInvSlotFilter
- SetTradeSkillSubClassFilter
- SetTrainerServiceTypeFilter
- SetTrainerSkillLineFilter
- SetView
- SetWatchedFactionIndex
- SetWaterDetail
- SetWhoToUI
- SetWorldDetail
- SetupFullscreenScale
- ShowBattlefieldList
- ShowBuybackSellCursor
- ShowCloak
- ShowContainerSellCursor
- ShowFriendNameplates
- ShowFriends
- ShowHelm
- ShowInspectCursor
- ShowInventorySellCursor
- ShowMerchantSellCursor
- ShowMiniWorldMapArrowFrame
- ShowNameplates
- ShowRepairCursor
- ShowWorldMapArrowFrame
- ShowingCloak
- ShowingHelm
- SignPetition
- SitOrStand
- SortAuctionItems
- SortGuildRoster
- SortWho
- SpellCanTargetUnit
- SpellIsTargeting
- SpellStopCasting
- SpellStopTargeting
- SpellTargetUnit
- SplitContainerItem
- StablePet
- StartAuction
- StartDuel
- StartDuelUnit
- StopCinematic
- StopMusic
- StrafeLeftStart
- StrafeLeftStop
- StrafeRightStart
- StrafeRightStop
- Stuck
- SubmitNumbers
- SwapRaidSubgroup
- TakeInboxItem
- TakeInboxMoney
- TakeInboxTextItem
- TakeTaxiNode
- TargetByName
- TargetLastEnemy
- TargetLastTarget
- TargetNearestEnemy
- TargetNearestFriend
- TargetNearestPartyMember
- TargetNearestRaidMember
- TargetUnit
- TaxiGetDestX
- TaxiGetDestY
- TaxiGetSrcX
- TaxiGetSrcY
- TaxiNodeCost
- TaxiNodeGetType
- TaxiNodeName
- TaxiNodePosition
- TaxiNodeSetCurrent
- ToggleAutoRun
- ToggleCollision
- ToggleCollisionDisplay
- ToggleMouseMove
- TogglePVP
- TogglePerformanceDisplay
- TogglePerformanceValues
- TogglePetAutocast
- TogglePlayerBounds
- TogglePortals
- ToggleRun
- ToggleSheath
- ToggleSpellAutocast
- ToggleTris
- TurnInGuildCharter
- TurnLeftStart
- TurnLeftStop
- TurnOrActionStart
- TurnOrActionStop
- TurnRightStart
- TurnRightStop
- TutorialsEnabled
- UninviteByName
- UninviteFromParty
- UninviteFromRaid
- UnitAffectingCombat
- UnitArmor
- UnitAttackBothHands
- UnitAttackPower
- UnitAttackSpeed
- UnitBuff
- UnitCanAssist
- UnitCanAttack
- UnitCanCooperate
- UnitCharacterPoints
- UnitClass
- UnitClassification
- UnitCreatureFamily
- UnitCreatureType
- UnitDamage
- UnitDebuff
- UnitDefense
- UnitExists
- UnitFactionGroup
- UnitHasRelicSlot
- UnitHealth
- UnitHealthMax
- UnitInParty
- UnitInRaid
- UnitIsCharmed
- UnitIsCivilian
- UnitIsConnected
- UnitIsCorpse
- UnitIsDead
- UnitIsDeadOrGhost
- UnitIsEnemy
- UnitIsFriend
- UnitIsGhost
- UnitIsPVP
- UnitIsPVPFreeForAll
- UnitIsPartyLeader
- UnitIsPlayer
- UnitIsPlusMob
- UnitIsTapped
- UnitIsTappedByPlayer
- UnitIsTrivial
- UnitIsUnit
- UnitIsVisible
- UnitLevel
- UnitMana
- UnitManaMax
- UnitName
- UnitOnTaxi
- UnitPVPName
- UnitPVPRank
- UnitPlayerControlled
- UnitPlayerOrPetInParty
- UnitPlayerOrPetInRaid
- UnitPowerType
- UnitRace
- UnitRangedAttack
- UnitRangedAttackPower
- UnitRangedDamage
- UnitReaction
- UnitResistance
- UnitSex
- UnitStat
- UnitXP
- UnitXPMax
- UnstablePet
- UpdateGMTicket
- UpdateInventoryAlertStatus
- UpdateMapHighlight
- UpdateSpells
- UpdateWorldMapArrowFrames
- UseAction
- UseContainerItem
- UseInventoryItem
- UseSoulstone
- __pow
- abs
- acos
- asin
- assert
- atan
- atan2
- ceil
- collectgarbage
- cos
- date
- debugbreak
- debugdump
- debuginfo
- debugload
- debugprint
- debugprofilestart
- debugprofilestop
- debugstack
- debugtimestamp
- deg
- error
- exp
- floor
- foreach
- foreachi
- format
- frexp
- gcinfo
- geterrorhandler
- getfenv
- getglobal
- getmetatable
- getn
- gsub
- ipairs
- ldexp
- loadstring
- log
- log10
- max
- min
- mod
- next
- pairs
- pcall
- rad
- random
- randomseed
- rawequal
- rawget
- rawset
- seterrorhandler
- setfenv
- setglobal
- setmetatable
- sin
- sort
- sqrt
- strbyte
- strchar
- strfind
- strlen
- strlower
- strrep
- strsub
- strupper
- tan
- time
- tinsert
- tonumber
- tostring
- tremove
- type
- unpack
- xpcall
Lua Defined Functions
Following are some useful global functions defined in the Blizzard FrameXML Lua files. Not all of these make sense to document on the World of Warcraft API page, but the automatic scanning tools don't know that. Pick with some care.
Functions in bold are not on the World of Warcraft API page as of 22 June 2006
- ActionButtonDown
- ActionButtonUp
- BattlegroundShineFadeIn
- BattlegroundShineFadeOut
- BonusActionButtonDown
- BonusActionButtonUp
- BuildColoredListString
- BuildListString
- BuildMultilineTooltip
- ButtonInventorySlot
- CanOpenPanels
- CloseAllBags
- CloseAllWindows
- CloseBackpack
- CloseBag
- CloseBankBagFrames
- CloseDropDownMenus
- CloseMenus
- CloseWindows
- ComboPointShineFadeIn
- ComboPointShineFadeOut
- ControlPressed
- ControlReleased
- CursorOnUpdate
- CursorUpdate
- DrawOneHopLines
- DrawRouteLine
- DressUpItem
- DressUpItemLink
- DressUpTexturePath
- ExhaustionToolTipText
- GetBindingText
- GetCenterFrame
- GetDifficultyColor
- GetDoublewideFrame
- GetFullScreenFrame
- GetGenderTag
- GetKeyRingSize
- GetLeftFrame
- GetMaterialTextColors
- GetPluralIndex
- GetPluralTag
- GetQuestLogIndexByName
- GetScreenHeightScale
- GetScreenWidthScale
- GetSlashCmdTarget
- GetText
- GossipFrameActiveQuestsUpdate
- GossipFrameAvailableQuestsUpdate
- GossipFrameOptionsUpdate
- GossipFrameUpdate
- GossipResize
- GuildControlCheckboxUpdate
- HideBonusActionBar
- HideDropDownMenu
- HidePartyFrame
- HidePetActionBar
- HideTextStatusBarText
- HideUIPanel
- HideWatchedReputationBarText
- InGuildCheck
- InboxNextPage
- InboxPrevPage
- InspectUnit
- IsAlreadyInQueue
- IsBagOpen
- IsOptionFrameOpen
- LoadMicroButtonTextures
- Localize
- LocalizeFrames
- LockPetActionBar
- LowerFrameLevel
- MicroButtonTooltipText
- MouseIsOver
- MovePanelToCenter
- MovePanelToLeft
- MultiActionButtonDown
- MultiActionButtonUp
- OnMenuLoad
- OpenAllBags
- OpenBackpack
- OpenBag
- OpenCoinPickupFrame
- OpenStackSplitFrame
- PaperDollFormatStat
- PaperDollStatTooltip
- PartyMemberHealthCheck
- PetActionButtonDown
- PetActionButtonUp
- PlayClickSound
- PutKeyInKeyRing
- RaiseFrameLevel
- RefreshMoneyFrame
- SecondsToTime
- SecondsToTimeAbbrev
- SetButtonPulse
- SetCenterFrame
- SetChatMouseOverDelay
- SetDesaturation
- SetDoublewideFrame
- SetDressUpBackground
- SetFullScreenFrame
- SetItemButtonCount
- SetItemButtonDesaturated
- SetItemButtonNameFrameVertexColor
- SetItemButtonNormalTextureVertexColor
- SetItemButtonSlotVertexColor
- SetItemButtonStock
- SetItemButtonTexture
- SetItemButtonTextureVertexColor
- SetItemRef
- SetLeftFrame
- SetMoneyFrameColor
- SetRaidTargetIcon
- SetRaidTargetIconTexture
- SetTextStatusBarText
- SetTextStatusBarTextPrefix
- SetTextStatusBarTextZeroText
- SetTooltipMoney
- SetZoneText
- ShowBonusActionBar
- ShowIgnorePanel
- ShowMacroFrame
- ShowPartyFrame
- ShowPetActionBar
- ShowTextStatusBarText
- ShowUIPanel
- ShowWatchedReputationBarText
- ShowWhoPanel
- TEXT
- TakeScreenshot
- TargetHealthCheck
- TargetofTargetHealthCheck
- TaxiNodeOnButtonEnter
- TextEmoteSort
- ToggleBackpack
- ToggleBag
- ToggleBattlefieldMinimap
- ToggleCharacter
- ToggleCombatLog
- ToggleDropDownMenu
- ToggleFramerate
- ToggleFriendsFrame
- ToggleGameMenu
- ToggleGuildInfoFrame
- ToggleHelpFrame
- ToggleKeyRing
- ToggleMinimap
- ToggleQuestLog
- ToggleSpellBook
- ToggleStats
- ToggleTalentFrame
- ToggleWorldMap
- ToggleWorldStateScoreFrame
- UIFrameFade
- UIFrameFadeIn
- UIFrameFadeOut
- UIFrameFadeRemoveFrame
- UIFrameFadeUpdate
- UIFrameFlash
- UIFrameFlashRemoveFrame
- UIFrameFlashStop
- UIFrameFlashSwitch
- UIFrameFlashUpdate
- UIFrameIsFading
- UIFrameIsFlashing
- UIParentLoadAddOn
- UnlockPetActionBar
- UpdateBagButtonHighlight
- UpdateBagSlotStatus
- UpdateCoinPickupFrame
- UpdateMicroButtons
- UpdatePartyMemberBackground
- UpdateStackSplitFrame
- UpdateTalentButton
- ValidateFramePosition
- message
- tDeleteItem
- updateContainerFrameAnchors