#Make a BOW not a cross bow shoot 3 arrows (speed depends on charge of bow)

1 messages · Page 1 of 1 (latest)

vapid hedge
#
  set {_vec2} to velocity of projectile 
  rotate {_vec2} around y-axis by 10 degrees
  set {_speed} to (projectile's velocity)'s vector length
  make shooter shoot arrow at speed {_speed} {_vec2}``` what I have right now but it excessively repeats itself
#

thank you for the help

frigid dew
#

The repeat happens because:
You make the player shoot an arrow on your last line, which counts as "on shoot"

vapid hedge
#

hm ok

#

is there really another way to make the player shoot 3 arrows without making the player shoot another arrow?

#

"can try setting metadata of the newly fired arrow to say "don't activate the on shoot event for these arrows" that's what someone in skripthub told me but itll still get registered by the on shoot: event nonetheless?

frigid dew
#

Stop the code then if the metadata doesn't match