Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

target not in line of sight

Featured Replies

HI,everyone.sometimes target not in line of sight,and player can't cast spell,but bot won't move,so I want to write a function with C# in FC to handle this use  events.

Which events is about  target not in line of sight? tks!

5 hours ago, zealtla said:

HI,everyone.sometimes target not in line of sight,and player can't cast spell,but bot won't move,so I want to write a function with C# in FC to handle this use  events.

Which events is about  target not in line of sight? tks!

Donno if that helps and its right out of the mind and just an idea...

                    wManager.Events.FightEvents.OnFightStart += (WoWUnit unit, System.ComponentModel.CancelEventArgs e) =>
                    {
                        // Not in LoS
                        if (TraceLine.TraceLineGo(unit.Position))
                        {
                            // Get waypoints to the target
                            IEnumerable<robotManager.Helpful.Vector3> waypoints = PathFinder.Pather.FindPath(ObjectManager.Me.Position, unit.Position, out bool result, out bool resultPartial);

                            foreach (robotManager.Helpful.Vector3 waypoint in waypoints)
                            {
                                if (!TraceLine.TraceLineGo(waypoint))
                                {
                                    // In LoS
                                    MovementManager.MoveTo(waypoint);

                                    // While moving....
                                }
                            }
                        }
                    };

You also need to cancel that event and i'm not sure if its the right one. There is no "not in LoS" event as far i know.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.