World of Warcraft Forever API · SimpleAnimPathAPI.md, for your AI
SimpleAnimPathAPI (widget methods)
5 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
CreateControlPoint
point = self:CreateControlPoint([name], [templateName], [order])
Arguments
name | cstring may be nil | |
|---|---|---|
templateName | cstring may be nil | |
order | number may be nil |
Returns
point | SimpleControlPoint |
|---|
GetControlPoints
points = self:GetControlPoints()
Returns
points | SimpleControlPoint |
|---|
GetCurveType
curveType = self:GetCurveType()
Returns
curveType | CurveType |
|---|
GetMaxControlPointOrder
maxOrder = self:GetMaxControlPointOrder()
Returns
maxOrder | number |
|---|
SetCurveType
self:SetCurveType(curveType)
Arguments
curveType | CurveType |
|---|