Jump to content

Ped Path Support


PalmBeachGames

Recommended Posts

Hi,

I'm having some trouble spawning bots with Slothbot onto a correct ground plane. My code originally gets an offset from a random player and creates a collision test zone, where when the player gets in the zone it gets his or her Z position and spawns the Slothbot. Unfortunately this does not work efficient as the player may be on a hill or below the Slothbot's X and Y ground position.

When the bot is below the new Z position he falls and is re-spawned back to Z level, by game default, where he is then forgotten by the code; you can shoot but we will not die.

I was hoping to learn how to use the Ped Paths so that I may implement that into my code, an example code may help.

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...