switch(self.vehicle_weapon2mode)
{
case SBRM_VOLLY:
- print(sprintf("1: %i\n", self.owner));
rocket = vehicles_projectile("spiderbot_rocket_launch", "weapons/rocket_fire.wav",
v, normalize(randomvec() * autocvar_g_vehicle_spiderbot_rocket_spread + v_forward) * autocvar_g_vehicle_spiderbot_rocket_speed,
autocvar_g_vehicle_spiderbot_rocket_damage, autocvar_g_vehicle_spiderbot_rocket_radius, autocvar_g_vehicle_spiderbot_rocket_force, 1,
{
entity proj;
- print(sprintf("2: %i\n", _owner));
-
proj = spawn();
PROJECTILE_MAKETRIGGER(proj);
setsize (proj, '-1 -1 -1' * _size, '1 1 1' * _size);
- print(sprintf("3: %i\n", proj));
- print(sprintf("4: %i\n", proj.enemy));
- print(sprintf("5: %i\n", proj.owner));
- print(sprintf("6: %i\n", proj.realowner));
CSQCProjectile(proj, _clianim, _projtype, _cull);
return proj;