Page 1 of 1

[Resolved] "Kills" Question

Posted: Thu Jul 06, 2017 8:29 pm
by TheSAguy
Hi,

The Turret and Worms have a "Kills" counter. I was wondering if the Biters have something similar?
Does anyone know and if they do, how can I read that value?

Thanks.

Re: "Kills" Question

Posted: Fri Jul 07, 2017 6:15 am
by darkfrei
http://lua-api.factorio.com/latest/LuaE ... tity.kills

kills :: uint [Read-Write]
The number of units killed by this turret.

Can only be used if this is Turret

Re: "Kills" Question

Posted: Sat Jul 08, 2017 5:55 pm
by TheSAguy
Thanks Darkfrei,
Too bad it's on Turret only and not unit. :(

Re: "Kills" Question

Posted: Sun Jul 09, 2017 12:25 am
by darkfrei
TheSAguy wrote:Thanks Darkfrei,
Too bad it's on Turret only and not unit. :(
Not only turrets, trains too.