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

◆ PreAI()

virtual bool Terraria.ModLoader.ModProjectile.PreAI ( )
inlinevirtual

Allows you to determine how this projectile behaves. Return false to stop the vanilla AI and the AI hook from being run. Returns true by default.

Returns
Whether or not to stop other AI.

Definition at line 115 of file ModProjectile.cs.

116 {
117 return true;
118 }