Knee264 0 Posted Sunday at 03:56 AM Share Posted Sunday at 03:56 AM Hello, so I am trying to create a fight class that will allow my hunter to stay in place and just target 2 specific npcs (within range) and cast chimera shot on them. Something like the video I made (apologies if the screen is wonky, still learning OBS Studio) I added the Chimera Shot as the only spell to use. 1 second timer, as there is no CD for it on this server, so it just has that default 1 second before casting again. I used the following line of code that I got off of google. My intention was to get the character to stand in one spot. Which it seems to have worked, and also added a code to force them to go back to the initial spot if moved, which works. However, they do not attack anything. wManager.Events.MovementEvents.OnMovementPulse += (points, cancelable) => { cancelable.Cancel = true; }; wManager.Events.MovementEvents.OnMoveToPulse += (point, cancelable) => { cancelable.Cancel = true; }; if(ObjectManager.Me.Position.DistanceTo(position) > 1) { // Move } EDIT: For the video, skip to 00:08 seconds. EDIT 2: Added a video which shows someone else using a bot to do what I'm trying to do. The following error messages is what I received: test2.mp4 Mob Farm.mp4 Link to comment https://wrobot.eu/forums/topic/15690-hunter-fight-class-chimera-shot-only/ Share on other sites More sharing options...
nax 10 Posted yesterday at 05:04 AM Share Posted yesterday at 05:04 AM post the code. Link to comment https://wrobot.eu/forums/topic/15690-hunter-fight-class-chimera-shot-only/#findComment-70222 Share on other sites More sharing options...
Knee264 0 Posted 17 hours ago Author Share Posted 17 hours ago 17 hours ago, nax said: post the code. What do you mean? The code that I used? I did. Link to comment https://wrobot.eu/forums/topic/15690-hunter-fight-class-chimera-shot-only/#findComment-70224 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now