
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