Page 1 of 1

Animations via script

Posted: Thu May 21, 2015 6:48 pm
by SpeedyBrain
Hey Factorio Community :)

Does anybody know if there is a way to control animations of an entity via lua script?
Or alternative trigger animations?

Re: Animations via script

Posted: Thu May 21, 2015 10:59 pm
by L0771
You can have 2 entities (or more) and alternate with this 2 entities, but isn't funny :P

Re: Animations via script

Posted: Thu May 21, 2015 11:02 pm
by SpeedyBrain
L0771 wrote:You can have 2 entities (or more) and alternate with this 2 entities, but isn't funny :P
Well then it would be better to destroy the entity and re-create it with another direction :)

Re: Animations via script

Posted: Thu May 21, 2015 11:33 pm
by L0771
Can rotate without delete, but the player can rotate the entity too.

Re: Animations via script

Posted: Fri May 22, 2015 1:09 am
by SpeedyBrain
L0771 wrote:Can rotate without delete, but the player can rotate the entity too.
You can only rotate entitys that are rotatable in the first place. You can't make any entity rotatable