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.

CGWorldFrameHitFlags.HitTestLOS

  • Version: All
  • Product: WRobot General
  • Type: Suggestion
  • Status: Not a Bug

Hi @Droidz, have a question and suggestion.

Why, by default, fight class conditions are checking TraceLineGo for ground textures between the bot's position and target's position but doesnt check another types of LOS, considering that you added this as HitTestLOS? For example game objects, I've have noticed that LOS check for this works pretty well. But there is a little measurement error: it returns true when the line between bot's position and target's position is "on the edge" of object model but the bot and the target can attack each other. 

I recorded a video for some clarity and understandability:

 

User Feedback

Recommended Comments

Pudge

WRobot user

Fix: fight conditions (not fight class, because I dont sure the fight class is checking traceline)

Matenia

Elite user

TraceLine.TraceLineGo returns false when there is no collision and true if there is a condition. 
You need to negate the condition.

You need to use hitflags WMO for spells.

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.