Nesthor Posted November 9, 2018 Share Posted November 9, 2018 Hi, I have been looking for information and reviewing some codes already done, for a kernel I plan to do bus driver missions, I have seen in some scrips that use code 06A7: 06A7: put_actor $PLAYER_ACTOR into_turret_on_car [email protected] at_car_offset -0.2 0.5 0.0 position 1 shooting_angle 110.0 70.0 with_weapon 43 I understand that this code places the ped in a position established by the offset, my question is, how can I know the values to assign in these lines to place the pd in a certain position, then I would put the ped in a sitting position using the opcode 06B0. thank you for your help Link to comment Share on other sites More sharing options...
boludoz Posted November 10, 2018 Share Posted November 10, 2018 simply put the actor you believe there, the one you declare previously. Nesthor 1 Link to comment Share on other sites More sharing options...
Nesthor Posted November 10, 2018 Author Share Posted November 10, 2018 14 hours ago, boludoz said: simply put the actor you believe there, the one you declare previously. I understand that, but I want to know what coordinates, or how I get the position I want this, after where it says offset there is a kind of coordinates, I wonder how they are positioned Link to comment Share on other sites More sharing options...
ZAZ Posted November 10, 2018 Share Posted November 10, 2018 car_offset -0.2 0.5 0.0 car_offset x y z x = sidewise , minus value = left, positiv = right y = lengthwise , minus value = backward, positiv = foreward z = height, minus down, positiv up position 1 position gives allignement (orientation) position 0 = looks forward position 1 = looks right position 2 = looks backward position 3 = looks left Nesthor 1 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
Nesthor Posted November 11, 2018 Author Share Posted November 11, 2018 12 hours ago, ZAZ said: car_offset -0.2 0.5 0.0 car_offset x y z x = sidewise , minus value = left, positiv = right y = lengthwise , minus value = backward, positiv = foreward z = height, minus down, positiv up position 1 position gives allignement (orientation) position 0 = looks forward position 1 = looks right position 2 = looks backward position 3 = looks left Thanks!!! Link to comment Share on other sites More sharing options...
lourent Posted November 11, 2018 Share Posted November 11, 2018 On 11/10/2018 at 6:36 PM, ZAZ said: car_offset -0.2 0.5 0.0 car_offset x y z x = sidewise , minus value = left, positiv = right y = lengthwise , minus value = backward, positiv = foreward z = height, minus down, positiv up position 1 position gives allignement (orientation) position 0 = looks forward position 1 = looks right position 2 = looks backward position 3 = looks left ye really thanks Link to comment Share on other sites More sharing options...