Jump to content

Walk Ped?


Recommended Posts

Created actor:

ped1 =  createPed ( 120, 1959.55, -1714.46, 20)

As his(its) force to go on coordinates;

Here is opcode for scm (from INI):

07CD=6,AS_actor %1d% walk_to %2d% %3d% %4d% stop_with_angle %5d% within_radius %6d%

The Boys help please. :)

Link to comment

rly..

when i was scriptign peds for 1st time i tried to use setPedControllState - but it failed (as descripted above) - then i changed to animations - then i saw that zombies resource is also using this method - and somewhere on forums somebody was complaing about setPedControlState on peds too..

Link to comment

there are quite a few problems when using control state, it works, but you have to set the angle and the controlstate clientside to avoid the problem of the zombie going off in its own direction. my Slothbot ai script uses control states. the only reason i use animations with zombies is to get the speed and look of a zombie.

50p's script with the peds that follow you works well because its done onclientredender, so the peds dont have a chance to turn away.

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...