Jump to content
This site uses cookies! Learn More

This site uses cookies!

By continuing to use this site, you agree to allow us to store cookies on your computer. :)

NiteKat

Can't get Hunter to use Ranged Attack

Recommended Posts

New user here, was playing around with the Fight Class editor that is built in, and I cannot find a way to make a Hunter stay at range and use their gun or bow. Is that only possible via a C# fight class? I tried making Auto Shoot a defined spell, and explicitly setting the move while casting to false, but I still get the same result of the Hunter running up to the enemies and never once firing their ranged weapon.,

Share this post


Link to post
Share on other sites

Thank you, this sort of solved my problem. I had tried it before, but only to 8. Now if I set it to 28, the Hunter will stop at a decent distance... but if won't shot. Just stands there waiting for the mob. If I try using Auto Shoot as a spell, it *keeps* casting it, interrupting the attack, so a shot never gets off. I'm assuming I need to check if it's being used already, but I'm not sure what Auto Shoot is considered as (I'm guessing it isn't a buff?).

Share this post


Link to post
Share on other sites
3 hours ago, NiteKat said:

Thank you, this sort of solved my problem. I had tried it before, but only to 8. Now if I set it to 28, the Hunter will stop at a decent distance... but if won't shot. Just stands there waiting for the mob. If I try using Auto Shoot as a spell, it *keeps* casting it, interrupting the attack, so a shot never gets off. I'm assuming I need to check if it's being used already, but I'm not sure what Auto Shoot is considered as (I'm guessing it isn't a buff?).

thats because the FC is trying to use a skill outside of the range... put the Me.target.distance setting to = your rage (in yds) and it should stop shuddering and just go to ur FC range and start attacking.

 

you may set a range in your FC... however the way wrobot works is if u have a target outside range.. it will start tying spells.  Sometimes its good like hunters mark / pet attack, sometimes bad like what you are seeing.  All part of optimising a FC.

 

 

Edited by eeny

Share this post


Link to post
Share on other sites

Ahh okay. I'll have to try to play around with that then... C# might be easier to work with than the XML making tool. I'm a C++ programmer, but looking through the eeny examples that came with the bot, the C# syntax isn't too hard to grasp. And I've been able to use these with slight modifications to, for example, make a Priest that heals/buffs party members and such. Some things just feel really finicky with the editor, but that's probably just my being new with it. 🙂

Share this post


Link to post
Share on other sites
7 minutes ago, NiteKat said:

Ahh okay. I'll have to try to play around with that then... C# might be easier to work with than the XML making tool. I'm a C++ programmer, but looking through the eeny examples that came with the bot, the C# syntax isn't too hard to grasp. And I've been able to use these with slight modifications to, for example, make a Priest that heals/buffs party members and such. Some things just feel really finicky with the editor, but that's probably just my being new with it. 🙂

Some nameing of conditions are confusing too in the Fightclass Editor in my opinion.
if you are expierenced with programming you better go with developing it in a IDE immediatley.

Helpful threads,

 

 
Or join the wRobot discord their is a Developer channel where you get quick help.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...