Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

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.

How does LPed.RangeToDetectEnemies affect the pursuit system?

Featured Replies

In the API example shooting callout, the following comment is present:

// Enable chase AI and extend sense range so suspects won't flee immediately but fight longer
The code it's referring to contains the line

criminal.RangeToDetectEnemies = 80f;
So what is this RangeToDetectEnemies, and how's it work with the pursuit system?
  • Management Team

It scans the area for enemies within the given range and if there are no, the pursuit system will make the suspects flee. However, for a shootout, we wanted to make the suspects actually fight and only flee if no enemies are around in a big area. So setting this to a very small value, will make suspects flee sooner, while a higher value will make them stay longer until every cop around is either killed or very far away.

Please do not PM me unless really necessary (knowing you helps). If you think you need my attention in a topic, tag me.

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...

Recently Browsing 0

  • No registered users viewing this page.

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.