Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: UltimateGamer9 on September 13, 2015, 11:19:54 PM

Title: Bike flee without using PedFlee
Post by: UltimateGamer9 on September 13, 2015, 11:19:54 PM
How do I make a ped flee using a bike without using PedFlee? PedFlee just randomly rides. I want to set the ped ride where I wanted exactly the place I wanted him/her to ride there.Does anyone know how to do it without using PedFlee?
Title: Re: Bike flee without using PedFlee
Post by: Unknownsoldier on September 14, 2015, 03:03:07 AM
When the ped is on the bike, use this:
PedMoveToXYZ(ped, 1, x, y, z)

Replace Ped with the name of the ped, and replace X, y, Z with the coordinates.

And, the ped will automatically follow the street. so dont worry about turns and stuff.
Title: Re: Bike flee without using PedFlee
Post by: UltimateGamer9 on September 14, 2015, 10:57:33 AM
When the ped is on the bike, use this:
PedMoveToXYZ(ped, 1, x, y, z)

Replace Ped with the name of the ped, and replace X, y, Z with the coordinates.

And, the ped will automatically follow the street. so dont worry about turns and stuff.
It doesn't work. They just don't move or anything.