CommandHelper

CommandHelper

46.5k Downloads

Option to specify any loc and vectors with launch_projectile()

LadyCailinBot opened this issue ยท 4 comments

commented

CMDHELPER-2719 - Reported by opoq

commented

Comment by PseudoKnight

Wouldn't we use this instead?
set_entity_velocity(spawn_entity(@entity, @qty, @loc), @vector)

It seems the advantage of launch_projectile is that it sets the projectile's owner.

commented

Comment by jb_aero

You could probably use launch_projectile instead of spawn_entity there too ^

commented

Comment by PseudoKnight

Oh, change the location after launch, ya. You'd maintain the benefit of the projectile owner, if that was your goal.

commented

Comment by PseudoKnight

This was added in 2609