TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ sentry

bool Terraria.Projectile.sentry

Indicates that this projectile is a sentry
Defaults to false.
All sentries should set F:Terraria.Projectile.timeLeft to F:Terraria.Projectile.SentryLifeTime.
When a sentry is spawned, M:Terraria.Player.UpdateMaxTurrets should be called immediately after.

Definition at line 163 of file Projectile.cs.

Referenced by Terraria.Projectile.Damage(), Terraria.Projectile.SetDefaults(), Terraria.Projectile.Update(), and Terraria.Player.WouldSpotOverlapWithSentry().