projectile

GameObjectprojectile

Children: AllyBullet, BloodSlash, Bolt, BouncerBullet, Bullet1, Bullet2, CustomProjectile, Devastator, Disc, EFlakBullet, EnemyBullet1, EnemyBullet3, EnemyBullet4, EnemyLaser, EnemyLightning, EnemySlash, EnergyHammerSlash, EnergyShank, EnergySlash, FireBall, FlakBullet, Flame, FlameBall, FlameShell, Grenade, GuardianDeflect, GuitarSlash, HeavyBolt, HeavyBullet, HeavySlug, HorrorBullet, HyperGrenade, HyperSlug, IDPDBullet, JockRocket, LHBouncer, Laser, Lightning, LightningBall, LightningSlash, Nuke, PlasmaBall, PlasmaBig, PlasmaHuge, PopoPlasmaBall, PopoRocket, PopoSlug, Rocket, Seeker, Shank, Slash, Slug, Splinter, SuperFlakBullet, TangleSeed, ThrownWep, ToxicBolt, ToxicGas, TrapFire, UltraBolt, UltraBullet, UltraShell

Variables:

from projectile
from projectile
hitid: number
team: number
creator

hitme that created this projectile (if any)

creator_projectile

projectile that created this projectile (if any, used for flak/etc.)

damage: number
force: number

Determines applied velocity on impact

typ: number

Projectile type,

  • 1: Can be deflected by shields/melee (e.g. bullets)
  • 2: Is destroyed by shields/melee (e.g. rockets)
  • other: Cannot be deflected (e.g. lightning).
deflected: number
nopopo: number

IDPD explosion treatment:

  • 0: Can be exploded
  • 1: Cannot be exploded by Blast Armor
  • 2: Cannot be exploded by any IDPD explosions (vans, freaks, Rogue Strike)
portal_immunity: bool