watcher_orbiter ![code/modules/mapfluff/ruins/lavalandruin_code/watcher_grave.dm 141](git.png)
Orbiting visual which shoots at mining mobs
Vars | |
fire_delay | Time between taking potshots at goliaths |
---|---|
on_death_multiplier | How much faster do we shoot when avenging our parent? |
parent | Who are we following? |
projectile_sound | Sound to make when we shoot |
projectile_type | Type of projectile we fire |
shot_cooldown | Time taken between shots |
target_faction | Types of mobs to attack |
tracker | Datum which keeps us hanging out with our parent |
Procs | |
follow | Set ourselves up to track and orbit around a guy |
on_glide_size_changed | Make sure we glide at the same speed as our parent |
on_parent_deleted | Called if the guy we're tracking is deleted somehow |
on_parent_died | We must guard this corpse |
on_parent_moved | Follow our parent |
on_parent_revived | Exit hyperactive mode |
orbit_animation | Do our orbiting animation |
shoot_at | Take a shot |
Var Details
fire_delay ![code/modules/mapfluff/ruins/lavalandruin_code/watcher_grave.dm 158](git.png)
Time between taking potshots at goliaths
on_death_multiplier ![code/modules/mapfluff/ruins/lavalandruin_code/watcher_grave.dm 160](git.png)
How much faster do we shoot when avenging our parent?
parent ![code/modules/mapfluff/ruins/lavalandruin_code/watcher_grave.dm 150](git.png)
Who are we following?
projectile_sound ![code/modules/mapfluff/ruins/lavalandruin_code/watcher_grave.dm 156](git.png)
Sound to make when we shoot
projectile_type ![code/modules/mapfluff/ruins/lavalandruin_code/watcher_grave.dm 154](git.png)
Type of projectile we fire
shot_cooldown ![code/modules/mapfluff/ruins/lavalandruin_code/watcher_grave.dm 162](git.png)
Time taken between shots
target_faction ![code/modules/mapfluff/ruins/lavalandruin_code/watcher_grave.dm 164](git.png)
Types of mobs to attack
tracker ![code/modules/mapfluff/ruins/lavalandruin_code/watcher_grave.dm 152](git.png)
Datum which keeps us hanging out with our parent
Proc Details
follow
Set ourselves up to track and orbit around a guy
on_glide_size_changed
Make sure we glide at the same speed as our parent
on_parent_deleted
Called if the guy we're tracking is deleted somehow
on_parent_died
We must guard this corpse
on_parent_moved
Follow our parent
on_parent_revived
Exit hyperactive mode
orbit_animation
Do our orbiting animation
shoot_at
Take a shot