Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

Patch 3.0.8/API changes

Last wiki revision 2021-12-04

  • will now function like if there is no script currently on the object.
  • Both Dropdown menus and the Vehicle Action Bar have been made less susceptible to taint.
  • Lua closures can now be directly assigned to widget script handlers from XML using the following new format: <OnClick function="FunctionName"/>. The old format will continue to be supported indefinitely.
  • Several functions no longer accept unit tokens as parameters, and should now be used in conjunction with UnitName("token") instead. These functions include:, , , , , , , , , , , , , ,.
  • The secure handlers system was restricted with respect to OnUpdate/Timer handling and the ability to react to frame visibility. There is a new SetupAnimation method that addresses some of the restrictions. This change unfortunately removed some otherwise useful functionality around auto-hiding frames (and animation) but hopefully a future patch will address this.
  • NEW - depth =
  • NEW - depth =
  • NEW -
  • NEW - ignoreFlag =
  • NEW -
  • NEW - enableFlag =
  • NEW -
  • NEW - enableFlag =
  • NEW -
  • NEW -
  • NEW - monthOfs, eventDay, eventIndex =
  • NEW -
  • NEW -
  • NEW - available =
  • NEW -
  • See also the, , CVars
  • NEW -
  • NEW - link =
  • NEW -
  • NEW - GetArenaTeamGdfInfo
  • NEW - ResurrectGetOfferer
  • NEW - TargetTotem
  • REMOVED - SecureHandlerShowHideTemplate
  • NEW - SecureHandlerMouseUpDownTemplate
  • NEW - SecureHandlerMouseWheelTemplate
  • REMOVED - FrameHandle:IsShown
  • REMOVED - FrameHandle:IsVisible
  • REMOVED - FrameHandle:GetWidth
  • REMOVED - FrameHandle:GetHeight
  • REMOVED - FrameHandle:GetRect
  • REMOVED - FrameHandle:GetScale
  • REMOVED - FrameHandle:GetEffectiveScale
  • Removed ability to wrap OnShow / OnHide
  • REMOVED - Control:SetTimer(elapsed, message, body)
  • REMOVED - Control:GetTIme
  • REMOVED - Control:SetAnimating(flag, body)
  • REMOVED - Control:IsAnimating
  • NEW - SetUpAnimation(frame, updateFunc, posBody, totalTime, postFunc, reverse) - Sets the current 'animation' function for the frame (Available update functions are Show, Hide, SetPoint, SetScale, SetHeight, SetWidth, SetAlpha)

Source

https://warcraft.wiki.gg/wiki/Patch_3.0.8/API_changes · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.