#Any queries used for ranged attacks?

1 messages · Page 1 of 1 (latest)

twin karma
#

I've been using query.is_facing_target_to_ranged_attack but that needs heavy calculations which I've done but I can't account for when it stops shooting in any form. Does anyone know any query(s) that I can use or any query combos that can be used?🙏

twin karma
#

Q.is_charged only functions for when it is charged not shooting right?

#

Now that I think about it I've never officially tried it

gilded pawn
twin karma
#

Ok I'm gonna try that

#

Thanks!

gilded pawn
twin karma
#

That is on the Minecraft:behavior_ranges_attack?

#

I thought that was only for melees. My bad

gilded pawn
# twin karma I thought that was only for melees. My bad

No, It's just a convoluted way of doing it, if you use delayed attack, you can use q.is_delayed_attacking, but if you then remove the component and then activate a component group, That makes a spawn entity would be similar

#

Although it is something more complex

#

You would regulate the attack range with reach

#

There are many ways to do it, although I think the easiest is charged

twin karma
#

So charged_charged_trigger would be 0.05?

gilded pawn
#

I don't remember if it's that one or charge_shoot_trigger

twin karma
#

If say it wasn't charged shoot trigger should that be at 0 or could I keep it at my desired number?

gilded pawn
#

I know one of them is not necessary for the animation

#

Although I don't know which one

twin karma
#

K testing

#

In case I never figure out which one is which it looks like the animation is delayed but I think I got it from here

#

Oh even better you were right thanks!