#1 15-09-2008 03:13

cakuzma
Registered: 15-09-2008
Posts: 10

How do I...Follow

How do i make a Ped Follow Me in a car ex: the ped in one car and me in a different car
please i need some help

Offline

#2 15-09-2008 08:12

Rapier
Registered: 28-04-2008
Posts: 29

Re: How do I...Follow

Try to use:

07F8: car 1@ follow_car 2@ radius 50.0

Offline

#3 26-09-2008 09:09

cakuzma
Registered: 15-09-2008
Posts: 10

Re: How do I...Follow

Rapier wrote:

Try to use:

07F8: car 1@ follow_car 2@ radius 50.0

ok i get that car 1 is me but how to i tell the game that car 2 is me every code i use it crashes to desktop

tryed
00da: $PLAYER_CHAR set players car 0@

07F8: car 4@ follow_car 0@ radius 10.0

im trying to replace this
01B0:   car 4@ sphere 0 in_sphere 14@ 15@ 16@ radius 5.0 5.0 5.0 stopped
04C4: store_coords_to 14@ 15@ 16@ from_actor $PLAYER_ACTOR with_offset 0.0 -8.0 0.0
02C1: store_to 14@ 15@ 16@ car_path_coords_closest_to 14@ 15@ 16@
this looped but sometimes the 4@ would get stuck

thanks

Last edited by cakuzma (26-09-2008 09:10)

Offline

#4 26-09-2008 10:21

XotaBi4b
From: Харьков
Registered: 13-09-2008
Posts: 87

Re: How do I...Follow

if  Actor.Driving($PLAYER_ACTOR)
then
03C0: 25@ = actor $PLAYER_ACTOR car
07F8: car 4@ follow_car 25@ radius 10.0
//Other Code
end

Last edited by XotaBi4b (26-09-2008 10:23)

Offline

#5 26-09-2008 16:24

cakuzma
Registered: 15-09-2008
Posts: 10

Re: How do I...Follow

XotaBi4b wrote:
if  Actor.Driving($PLAYER_ACTOR)
then
03C0: 25@ = actor $PLAYER_ACTOR car
07F8: car 4@ follow_car 25@ radius 10.0
//Other Code
end

thank you verry much

Offline

Board footer

Powered by FluxBB