Animations via script

Place to get help with not working mods / modding interface.
Post Reply
SpeedyBrain
Long Handed Inserter
Long Handed Inserter
Posts: 77
Joined: Wed May 20, 2015 12:08 am
Contact:

Animations via script

Post 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?
ImageImageImageImage

User avatar
L0771
Filter Inserter
Filter Inserter
Posts: 516
Joined: Tue Jan 14, 2014 1:51 pm
Contact:

Re: Animations via script

Post by L0771 »

You can have 2 entities (or more) and alternate with this 2 entities, but isn't funny :P

SpeedyBrain
Long Handed Inserter
Long Handed Inserter
Posts: 77
Joined: Wed May 20, 2015 12:08 am
Contact:

Re: Animations via script

Post 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 :)
ImageImageImageImage

User avatar
L0771
Filter Inserter
Filter Inserter
Posts: 516
Joined: Tue Jan 14, 2014 1:51 pm
Contact:

Re: Animations via script

Post by L0771 »

Can rotate without delete, but the player can rotate the entity too.

SpeedyBrain
Long Handed Inserter
Long Handed Inserter
Posts: 77
Joined: Wed May 20, 2015 12:08 am
Contact:

Re: Animations via script

Post 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
ImageImageImageImage

Post Reply

Return to “Modding help”