Custom Animations?
Custom Animations?
I've gotten back into modding recently, and I want to know if my entity can have custom animations (kind of like animation states). These animations need to be accessable by code, as in they can be activated/deactivated by calling a function or event. Any help is appreciated, thanks.
Re: Custom Animations?
Anyone know if these are going to be implemented soon, or will I have to make my own API for it?
-
- Filter Inserter
- Posts: 841
- Joined: Mon Sep 14, 2015 7:40 am
- Contact:
Re: Custom Animations?
Sadly control.lua lacks a good way to change the sprite/animation of an existing entity programatically. You pretty much have to spawn/despawn new entities to trigger new animations, or use hacks like having completely different sprites for a "car"-type entity's Orientations and rotate it to get new sprites/run an animation.
Re: Custom Animations?
well that sucks, I might make my own api seeing as there isn't any good solutions, and then post it here. Thanks