Page 1 of 1

alert_when_attack for turret prototypes

Posted: Fri Mar 24, 2017 6:48 pm
by Mooncat
Request:
a simple Boolean property for turning alert on/off when a turret attacks.


I have implemented a turret that makes no damage but reveals the chunk of the target's location on map. The turret range is quite long. So, it is an alternative of Radar, except it has longer range but only reveals enemies.
The only thing that annoyed me is the alert when the turret reveals someone. :)

And a quick question, does making the turret range extremely long cause performance issue?

Re: alert_when_attack for turret prototypes

Posted: Sat Apr 15, 2017 12:27 pm
by Rseding91
This is already possible: any entity that generates alerts when damaged can have the alert disabled with the property "alert_when_damaged = false".

Re: alert_when_attack for turret prototypes

Posted: Tue Apr 18, 2017 2:28 am
by Mooncat
Rseding91 wrote:This is already possible: any entity that generates alerts when damaged can have the alert disabled with the property "alert_when_damaged = false".
I know "alert_when_damaged", but it is not I want.
I want to disable the "a turret is engaging the enemy" warning when the turret is attacking the enemy. :mrgreen: