tonton2d: I am not sure if you meant this 1
2
3
4
5
2
3
4
5
setpos_projectile = function(id, pl, x, y, rot)
	local typ, dist = projectile(id, pl, "type"), projectile(id, pl, "flydist")
	parse("freeprojectile "..id.." "..pl)
	parse("spawnprojectile "..pl.." "..typ.." "..x.." "..y.." "..dist.." "..rot)
end
Ideas for CS2D - READ THE FIRST POST (OP)!


Offline
instead of the usual bullets may choose a flamethrower or grenade launcher