Jump to content
View in the app

A better way to browse. Learn more.

RDR2Mods.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 can I determine the movement set of a ped?

Featured Replies

I would like to make peds behave a certain way when they are using a certain movement set.

E.g. when someone is drunk, they walk wobbly - I would like to know if there is a getter-method for the movement set (I have only found a setter).

Does anyone know?

  • Author

0x89F5E7ADECCCB49C is for setting the walking style (e.g. "injured_left_leg") and 0x923583741DC87BCE for setting the stance (e.g. "DEFAULT").

I suppose there must be a getter, but I have not found the correct native function yet 😕

Thanks for looking into it!

  • Author

@LMS I'm trying to flag NPCs which are currently bleeding out. Since its no task (at least none I was able to find), the next thing thats obvious would be the movement.

  • Author
1 hour ago, TuffyTown said:

You can check if a ped is bleeding out via IS_PED_IN_WRITHE(Ped ped)

Isnt that only for the real writhing? (squirming on the ground)

16 hours ago, HughJanus said:

@LMS I'm trying to flag NPCs which are currently bleeding out. Since its no task (at least none I was able to find), the next thing thats obvious would be the movement.

 

You might also get lucky by querying ped flags.

  • Author
9 hours ago, LMS said:

 

You might also get lucky by querying ped flags.

How would I go about that?

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

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.