LuaEntity.turret_orientation :: float [RW]

User avatar
Earendel
Factorio Staff
Factorio Staff
Posts: 720
Joined: Sun Nov 23, 2014 11:57 am
Contact:

LuaEntity.turret_orientation :: float [RW]

Post by Earendel »

Please add LuaEntity.turret_orientation :: float [RW] for turrets and vehicles.
Danielv123
Long Handed Inserter
Long Handed Inserter
Posts: 51
Joined: Sun Jan 03, 2016 10:28 am
Contact:

Re: LuaEntity.turret_orientation :: float [RW]

Post by Danielv123 »

So http://lua-api.factorio.com/latest/LuaE ... rientation only works on cars etc, not turrets?
Bilka
Factorio Staff
Factorio Staff
Posts: 3634
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: LuaEntity.turret_orientation :: float [RW]

Post by Bilka »

This was added as relative_turret_orientation for vehicles and artillery turrets, and orientation for turrets.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Implemented mod requests”