Legion sentinel
A basic turret that shoots at nearby mobs. Intended to be used for the legion megafauna.
Vars | |
faction | Compared with the targeted mobs. If they have the faction, turret won't shoot. |
---|---|
initial_firing_time | Time until the tracer gets shot |
projectile_type | What kind of projectile the actual damaging part should be. |
shot_delay | How long it takes between shooting the tracer and the projectile. |
Procs | |
fire | Called when attacking a target. Shoots a projectile at the turf underneath the target. |
fire_beam | Called shot_delay after the turret shot the tracer. Shoots a projectile into the same direction. |
set_up_shot | Handles an extremely basic AI |
Var Details
faction
Compared with the targeted mobs. If they have the faction, turret won't shoot.
initial_firing_time
Time until the tracer gets shot
projectile_type
What kind of projectile the actual damaging part should be.
shot_delay
How long it takes between shooting the tracer and the projectile.
Proc Details
fire
Called when attacking a target. Shoots a projectile at the turf underneath the target.
fire_beam
Called shot_delay after the turret shot the tracer. Shoots a projectile into the same direction.
set_up_shot
Handles an extremely basic AI