Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: Edgar Munsen on September 03, 2013, 07:03:53 AM

Title: how can i make spawned ped moving like in free roam
Post by: Edgar Munsen on September 03, 2013, 07:03:53 AM
i used lua to spawn peds with their special AI but they didnt respond at all they just stand there.
HELP!
Title: Re: how can i make spawned ped moving like in free roam
Post by: c00ld0c26 on September 03, 2013, 07:16:48 AM
Here's the command :

PedWander(PEDName)

Replace PEDName with the name u gave the ped example :

Jerry = PedCreateXYZ...
Title: Re: how can i make spawned ped moving like in free roam
Post by: Edgar Munsen on September 03, 2013, 08:14:24 AM
Here's the command :

PedWander(PEDName)

Replace PEDName with the name u gave the ped example :

Jerry = PedCreateXYZ...
it didnt work
Title: Re: how can i make spawned ped moving like in free roam
Post by: c00ld0c26 on September 03, 2013, 08:20:58 AM
Can u send me the script u made?
Because last time I checked the command does work.
Title: Re: how can i make spawned ped moving like in free roam
Post by: Phap on September 03, 2013, 06:22:58 PM
Can u send me the script u made?
Because last time I checked the command does work.
It doesn't work on all locations such as savehouses, harrington house, etc.
Title: Re: how can i make spawned ped moving like in free roam
Post by: Edgar Munsen on September 03, 2013, 11:04:09 PM
Can u send me the script u made?
Because last time I checked the command does work.
It doesn't work on all locations such as savehouses, harrington house, etc.
i spawned them in outside boy dorm
Title: Re: how can i make spawned ped moving like in free roam
Post by: Phap on September 03, 2013, 11:37:41 PM
Then this is the code,
PedWander(Pedname, true)
c00ldoc forgot to add true as it is needed as part of the code.