Jump to content

how to sit down a ped (without having collision)


Recommended Posts

setElementCollisionsEnabled( ped, false) should do it

then you'll need to set the position, including the z value, from experience it took a lot of trial and error to get it in the right place.

Link to comment
  
    p_pilot = createPed( 61 , 0 , 0 , 0 ) 
    setElementInterior(p_pilot,1,0.8457262635231, 35.5, 1199.555) 
    setElementCollisionsEnabled( p_pilot, false ) 
    setPedAnimation(p_pilot, "INT_OFFICE","OFF_Sit_Bored_Loop") 

this should set a pilot skin to be sitting in one of the pilot's chairs in the shamal interior.

i have removed unnecessary stuff from my script, which shouldn't affect the outcome - and i know for a fact it works.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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