Allow Lua To Create and Destroy Projectiles
Posted: 25 Jan 2010, 23:45
Create:
Pretty straightforward: let a Lua function create a new projectile of (type, start position, vector, target).
Would allow for chained weapons, explosions that trigger more weapons (think cluster grenades, etc.) and other fun things.
Destroy:
Lua function to destroy (projectileID). Would probably require another function getting projectiles in a sphere, for short sorts.
Would allow for MIRV-type weapons without a lot hack-arounds, new types of Shield, anti-missile weapons that weren't vlaunch, and other useful things.
Pretty straightforward: let a Lua function create a new projectile of (type, start position, vector, target).
Would allow for chained weapons, explosions that trigger more weapons (think cluster grenades, etc.) and other fun things.
Destroy:
Lua function to destroy (projectileID). Would probably require another function getting projectiles in a sphere, for short sorts.
Would allow for MIRV-type weapons without a lot hack-arounds, new types of Shield, anti-missile weapons that weren't vlaunch, and other useful things.