#How to run an animation of some entity with js?

1 messages · Page 1 of 1 (latest)

lusty hound
#

Does anyone know how I can run an animation of some entity with a script?

example:
The animation will be in the entity
"a": "animation.lol"
How can I run that animation with js?

pseudo quest
#

in js you can trigger events or play animation but its better to use animation controllers

#

source.playAnimation()

lusty hound
pseudo quest
#

Nope

#

Animation controllers need to be assigned directly inside entity

#

And executed in client entity file or bp inside script section