WowAddons

World of Warcraft Forever API · C_ScriptedAnimations.md, for your AI

C_ScriptedAnimations

1 functions, 1 events, 4 tables, 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

C_ScriptedAnimations.GetAllScriptedAnimationEffects

scriptedAnimationEffects = C_ScriptedAnimations.GetAllScriptedAnimationEffects()

Returns

scriptedAnimationEffectsScriptedAnimationEffect[]

Events

SCRIPTED_ANIMATIONS_UPDATE

No payload.

Tables

Enum.ScriptedAnimationBehavior enumeration

None0
TargetShake1
TargetKnockBack2
SourceRecoil3
SourceCollideWithTarget4
UIParentShake5

Enum.ScriptedAnimationFlags enumeration

UseTargetAsSource1

Enum.ScriptedAnimationTrajectory enumeration

AtSource0
AtTarget1
Straight2
CurveLeft3
CurveRight4
CurveRandom5
HalfwayBetween6

ScriptedAnimationEffect structure

idnumber
visualfileID
visualScalenumber
durationnumber
trajectoryScriptedAnimationTrajectory
yawRadiansnumber
pitchRadiansnumber
rollRadiansnumber
offsetXnumber
offsetYnumber
offsetZnumber
animationnumber
animationSpeednumber
alphanumber
useTargetAsSourcebool
startBehaviorScriptedAnimationBehavior may be nil
startSoundKitIDnumber may be nil
finishEffectIDnumber may be nil
finishBehaviorScriptedAnimationBehavior may be nil
finishSoundKitIDnumber may be nil
startAlphaFadenumber may be nil
startAlphaFadeDurationnumber may be nil
endAlphaFadenumber may be nil
endAlphaFadeDurationnumber may be nil
animationStartOffsetnumber may be nil
loopingSoundKitIDnumber may be nil
particleOverrideScalenumber may be nil

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows