-
Notifications
You must be signed in to change notification settings - Fork 0
Animation API
LateAlways edited this page Nov 12, 2024
·
5 revisions
The animation API contains all functions related to animating the local player. (Knife animations)
Plays an animation that was loaded. (Usually only:
raise
,stab1
,stab2
,stab3
)
function bpAPI.animationAPI.play(AnimationName: string, Looped: boolean, Speed: number?)
Stops an animation that was loaded and was playing. If no animation name is given, stops all animations.
function bpAPI.animationAPI.stop(AnimationName: string?)
Plays the raising knife animation like it would if you were throwing normally by holding left click.
function bpAPI.animationAPI.throw()
Plays the stab animation the same way it would in-game. (Rotating between stab1 to stab3 every stab)
function bpAPI.animationAPI.stab()