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 to get ped to constantly look at player

Featured Replies

Hi there, I have seen in a few callout packs and mainly STP that when the ped is stopped the ped will constantly look at the player, how can I do this my self, I have tried ped.Face(Game.LocalPlayer.Character), but thats only a single time function.

 

  • Author

Is that a RAGE.Native task? How would I impliment it so its constantly repeating itself to alwyas be facing me?

 

Sorry im new to Rage.Natives functions

10 hours ago, Eli180sx said:

Is that a RAGE.Native task? How would I impliment it so its constantly repeating itself to alwyas be facing me?

 

Sorry im new to Rage.Natives functions

 

 

You can implement it like this:

 

NativeFunction.Natives.TASK_TURN_PED_TO_FACE_ENTITY(Ped ped, Entity Target, int duration)

 

If you put -1 into duration it will go on forever. However, this will also override any animations the Ped is doing, so you cant have the ped sit down and face at the same time

 

  • Author
3 hours ago, RicyVasco said:

 

 

You can implement it like this:

 

NativeFunction.Natives.TASK_TURN_PED_TO_FACE_ENTITY(Ped ped, Entity Target, int duration)

 

If you put -1 into duration it will go on forever. However, this will also override any animations the Ped is doing, so you cant have the ped sit down and face at the same time

 

Oh yeah thats algoods, but how would I cancel that anim to play another one?

4 hours ago, Eli180sx said:

Oh yeah thats algoods, but how would I cancel that anim to play another one?

You can either use Ped.Task.Clear or put the int Duration from the Native to something like 100ms.

 

You might even be able to just call another task, not sure about this one though.

  • Author
6 minutes ago, RicyVasco said:

You can either use Ped.Task.Clear or put the int Duration from the Native to something like 100ms.

 

You might even be able to just call another task, not sure about this one though.

Ok awesome thank you so much for your help

 

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.