Jump to content

TASK_FOLLOW_TO_OFFSET_OF_ENTITY


Native Details

  • NameTASK_FOLLOW_TO_OFFSET_OF_ENTITY
  • NamespaceTASK
  • Native Hash0x304AE42E357B8C7E
  • Typeint
  • First seen version1207

Native Parameters

DESCRIPTION

TASK_FOLLOW_TO_OFFSET_OF_ENTITY(Ped follower, Ped target, float offsetX, float offsetY, float offsetZ, float var1, float var2, float minDist, BOOL b1, BOOL b2, BOOL walkOnly, BOOL b3, BOOL b4)

 

follower - The ped you want to follow somebody
target - The ped you want the follow to follow
offsetX,Y,Z - Offset from target the follower will stand
minDist - Minimum distance the follower can be from the target (-1 for auto, 50f is max)
walkOnly - if true the follower can only walk

 

var1: found in scripts (-1, 1f, 1.2f, 2f, 2.5f )
var2: found in scripts (-1, 1.0)

 

Unsure what they both do, I cannot seem to find any difference when raising and 
lowering them. Maybe you need to have one of the Booleans active for them to take effect?



User Feedback

Recommended Comments

There are no comments to display.



Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Red Dead Redemption 2 Native Database by www.mod-rdr.com, includes contributions by gudmunduro and alloc8or.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...