Skip to content

Projectile proxy (self.projectile)

Bound on script tables as self.projectile. Only these public members are reachable; unknown names fail closed.

Source: Signs of Life/Utils/Lua/LuaProjectileApi.cs.

Properties

Name Type / signature Notes
BaseSpriteVisible Boolean BaseSpriteVisible
IsDead Boolean IsDead
LifeTime int LifeTime
MaxLifeTime int MaxLifeTime
Owner object Owner Kept loosely typed (rather than ) so Lua and other proxies can pass it through without an intermediate unwrap, matching 's Owner.
Pos Vector2 Pos
VelX float VelX
VelY float VelY

Methods

Signature Notes
void DealDamage(LivingEntity target, float piercePercent)
Boolean HasTag(String tag)
Boolean IsProjectileSettled()
void LoadSoundEffect(String label, String path)
void PlaySoundEffect(String label, float volume = 1, float pitch = 0)
void TriggerContinuousPFX(String key, float offsetX = 0, float offsetY = 0)
void TriggerOneShotPFX(String key)

Generated 2026-08-02T05:22:21.4279488Z · a7346a83 · 15 members.