lebthug243 0 Posted November 1, 2021 Share Posted November 1, 2021 Trying to set up bots to set up a dueling tourney with friends (sounds dumb but its just easier when I dont have to control every character) is there any way to get a Rotation bot to try breaking LOS on casters? Thanks. Link to comment https://wrobot.eu/forums/topic/13645-los-breaking/ Share on other sites More sharing options...
Zer0 148 Posted November 2, 2021 Share Posted November 2, 2021 It's possible but hard to implement. You would have to come up with an algorithm that tests positions around you and find one that is both reachable by the pathfinder and out of sight from your target. Once it's done you'd have to stop the rotation and move you character there. You can use TraceLine.TraceLineGo to test LoS between positions and your target. Be aware that it's counterintuitive as it returns false when in sight, and therefore true when out of sight. Link to comment https://wrobot.eu/forums/topic/13645-los-breaking/#findComment-63957 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