Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.Player:setAnimation

C๐Ÿท๏ธ Player

Part of StarfallEx namespace

๐Ÿ”— External
Player:setAnimation(seq, progress, rate, loop, auto_advance, act)
View on GitHub|lua/starfall/libs_sh/players.lua:631
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Plays an animation on the player

Parameters

NameTypeDescription
seqnumber|stringSequence number or string name
progress?numberOptional float (Default 0), the progress of the animation. Ranging from 0-1
rate?numberOptional float (Default 1), the playback rate of the animation
loop?booleanOptional boolean (Default false), should the animation loop
auto_advance?booleanOptional boolean (Default true), should the animation handle advancing itself
actnumber|string|nilOptional number or string name (Default sequence value), the activity the player should use

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.