Turret properties

KaraUL!
Inserter
Inserter
Posts: 23
Joined: Sat Mar 21, 2015 7:59 pm
Contact:

Turret properties

Post by KaraUL! »

Can we get access to "damage-dealt" or "kills" turret properties? E.g. in control.lua i want to do some actions, when kills of certain turret reach certain value.
ajranney
Inserter
Inserter
Posts: 30
Joined: Mon May 25, 2015 4:44 am
Contact:

Can scripts read an entity (turret) Kills and Damage dealt

Post by ajranney »

Can a script read a turrets Kill count and Damage dealt total? I was thinking of scripting a turret that would level up with experience.
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: Turret properties

Post by daniel34 »

Merged topics, and because I don't think this is currently possible moved to Modding interface requests.
quick links: log file | graphical issues | wiki
KaraUL!
Inserter
Inserter
Posts: 23
Joined: Sat Mar 21, 2015 7:59 pm
Contact:

Re: Turret properties

Post by KaraUL! »

Ye, idea was to make turret rank system. Is it possible, that developers will add method in API?
Rseding91
Factorio Staff
Factorio Staff
Posts: 14590
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Turret properties

Post by Rseding91 »

I can add those properties for 0.13.
If you want to get ahold of me I'm almost always on Discord.
KaraUL!
Inserter
Inserter
Posts: 23
Joined: Sat Mar 21, 2015 7:59 pm
Contact:

Re: Turret properties

Post by KaraUL! »

It would be great, thanks!
Post Reply

Return to “Implemented mod requests”