World of Warcraft Forever API · FrameAPIModelSceneFrameActor.md, for your AI
FrameAPIModelSceneFrameActor (widget methods)
31 functions, as Blizzard documents them for Forever 1.60.1 (70959).
Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.
Functions
AttachToMount
success = self:AttachToMount(rider, animation, [spellKitVisualID])
Arguments
rider | ModelSceneFrameActor | |
|---|---|---|
animation | AnimationDataEnum | |
spellKitVisualID | number may be nil |
Returns
success | bool |
|---|
CalculateMountScale
scale = self:CalculateMountScale(rider)
Arguments
rider | ModelSceneFrameActor |
|---|
Returns
scale | number |
|---|
DetachFromMount
success = self:DetachFromMount(rider)
Arguments
rider | ModelSceneFrameActor |
|---|
Returns
success | bool |
|---|
Dress
self:Dress()
DressPlayerSlot
self:DressPlayerSlot(invSlot)
Arguments
invSlot | luaIndex |
|---|
GetAutoDress
autoDress = self:GetAutoDress()
Returns
autoDress | bool |
|---|
GetItemTransmogInfo
itemTransmogInfo = self:GetItemTransmogInfo(inventorySlots)
May return nothing.
Arguments
inventorySlots | number |
|---|
Returns
itemTransmogInfo | ItemTransmogInfo may be nil |
|---|
GetItemTransmogInfoList
infoList = self:GetItemTransmogInfoList()
Returns
infoList | ItemTransmogInfo[] |
|---|
GetObeyHideInTransmogFlag
obey = self:GetObeyHideInTransmogFlag()
Returns
obey | bool |
|---|
GetPaused
paused, globalPaused = self:GetPaused()
Returns
paused | bool | |
|---|---|---|
globalPaused | bool |
GetSheathed
sheathed = self:GetSheathed()
Returns
sheathed | bool |
|---|
GetUseTransmogChoices
use = self:GetUseTransmogChoices()
Returns
use | bool |
|---|
GetUseTransmogSkin
use = self:GetUseTransmogSkin()
Returns
use | bool |
|---|
IsGeoReady
isReady = self:IsGeoReady()
Returns
isReady | bool |
|---|
IsSlotAllowed
allowed = self:IsSlotAllowed(inventorySlots)
Arguments
inventorySlots | number |
|---|
Returns
allowed | bool |
|---|
IsSlotVisible
visible = self:IsSlotVisible(inventorySlots)
Arguments
inventorySlots | number |
|---|
Returns
visible | bool |
|---|
ReleaseFrontEndCharacterDisplays
success = self:ReleaseFrontEndCharacterDisplays()
Returns
success | bool |
|---|
ResetNextHandSlot
self:ResetNextHandSlot()
SetAutoDress
self:SetAutoDress(autoDress)
Arguments
autoDress | bool |
|---|
SetFrontEndLobbyModelFromDefaultCharacterDisplay
success = self:SetFrontEndLobbyModelFromDefaultCharacterDisplay(characterIndex)
Arguments
characterIndex | number |
|---|
Returns
success | bool |
|---|
SetItemTransmogInfo
result = self:SetItemTransmogInfo(transmogInfo, [inventorySlots], [ignoreChildItems])
Arguments
transmogInfo | ItemTransmogInfo | |
|---|---|---|
inventorySlots | number may be nil | |
ignoreChildItems | bool default false |
Returns
result | ItemTryOnReason |
|---|
SetModelByHyperlink
success = self:SetModelByHyperlink(link)
Arguments
link | cstring |
|---|
Returns
success | bool |
|---|
SetObeyHideInTransmogFlag
self:SetObeyHideInTransmogFlag(obey)
Arguments
obey | bool |
|---|
SetPaused
self:SetPaused(paused, [affectsGlobalPause])
Arguments
paused | bool | |
|---|---|---|
affectsGlobalPause | bool default true |
SetSheathed
self:SetSheathed(sheathed, [hidden])
Arguments
sheathed | bool | |
|---|---|---|
hidden | bool default false |
SetSheathedCategory
self:SetSheathedCategory(inventorySlots, category)
Arguments
inventorySlots | number | |
|---|---|---|
category | TransmogOutfitSlotOptionSheatheCategory |
SetUseTransmogChoices
self:SetUseTransmogChoices(use)
Arguments
use | bool |
|---|
SetUseTransmogSkin
self:SetUseTransmogSkin(use)
Arguments
use | bool |
|---|
Undress
self:Undress([includeWeapons])
Arguments
includeWeapons | bool default true |
|---|
UndressSlot
self:UndressSlot(inventorySlots)
Arguments
inventorySlots | number |
|---|
UseUnitSheatheCategory
self:UseUnitSheatheCategory(useCategory)
Arguments
useCategory | bool |
|---|