Lukkaz Posted January 29, 2011 Share Posted January 29, 2011 I was wondering if it would be possible to tell a ped (bot) where to drive to like a taxi. Link to comment
MaddDogg Posted January 29, 2011 Share Posted January 29, 2011 It theoretically is, but you would have to write the AI probably also using the path system from GTASA. And no, it's not easy. Link to comment
Jusonex Posted January 30, 2011 Share Posted January 30, 2011 And the peds are clientside -> not synced Link to comment
MaddDogg Posted January 30, 2011 Share Posted January 30, 2011 And the peds are clientside -> not synced No, peds can also be created and animated serverside. Link to comment
Jusonex Posted January 31, 2011 Share Posted January 31, 2011 yes, that´s right, but for a "ped driver" he have to use setPedControlState - clientside. Link to comment
DiSaMe Posted January 31, 2011 Share Posted January 31, 2011 yes, that´s right, but for a "ped driver" he have to use setPedControlState - clientside. So don't make the ped perform random actions on each client separately. Everything is fine with sync. I set tasks of peds server-side. Client sees those tasks and uses setPedControlState to perform it. Task is synced, so the result is the same for everyone. Even when there's some accuracy, it doesn't cause problems because position is synced too. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now