Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

Happy Holidays from the GTANet team!

Help getting actor to walk


ShadowCoderKing
 Share

Recommended Posts

ShadowCoderKing

hi all

i can't get an actor to walk, all they do is run for me please help

 

i think my problem is in this code

 

 

:check_point_105F5: AS_actor [email protected] goto_point -1527.8864 -2391.0952 24.4294 mode 5 30000 ms // versionB05D6: clear_scmpath05D7: add_point_to_scmpath -1527.8864 -2391.0952 24.429405D8: AS_assign_scmpath to_actor [email protected] flags 6 1

 

Link to comment
Share on other sites

2pacproducer2

Dont make tons of topics, and use Opcodes search function in SannyB to find opcodes you need, I just typed in WALK, and here u go:

 

 

07CD: AS_actor [email protected] walk_to 362.2674 -2035.844 6.836 stop_with_angle 270.0 within_radius 4.0 

 

Link to comment
Share on other sites

ShadowCoderKing

thanks 2pac smile.gifsmile.gif

and by the way i do use opcode seach and post here if i cant find the right one smile.gif

Link to comment
Share on other sites

ShadowCoderKing
Dont make tons of topics, and use Opcodes search function in SannyB to find opcodes you need, I just typed in WALK, and here u go:

 

 

07CD: AS_actor [email protected] walk_to 362.2674 -2035.844 6.836 stop_with_angle 270.0 within_radius 4.0 

 

the code :

 

 

07CD: AS_actor [email protected] walk_to 362.2674 -2035.844 6.836 stop_with_angle 270.0 within_radius 4.0 

 

 

 

it doesn't work he still runs sad.gif

 

Link to comment
Share on other sites

Dont make tons of topics, and use Opcodes search function in SannyB to find opcodes you need, I just typed in WALK, and here u go:

 

 

07CD: AS_actor [email protected] walk_to 362.2674 -2035.844 6.836 stop_with_angle 270.0 within_radius 4.0 

 

the code :

 

 

07CD: AS_actor [email protected] walk_to 362.2674 -2035.844 6.836 stop_with_angle 270.0 within_radius 4.0 

 

 

 

it doesn't work he still runs sad.gif

please post the whole script or did you really use [email protected] in a cs file?

Link to comment
Share on other sites

ShadowCoderKing

i didnt use [email protected] lol

 

 

{$CLEO .cs}03A4: name_thread 'MAINS'02A8: $439 = create_marker 19 at -1523.7599 -2388.4614 23.5021:animal_10001: wait  0 ms00D6: if  00256:   player $PLAYER_CHAR defined004D: jump_if_false @animal_100D6: if  000EC:   actor $PLAYER_ACTOR 1 near_point -1546.1151 -2416.4731 36.2534 radius 250.0 250.0 004D: jump_if_false @animal_10247: request_model 248:Load_animal_1_check0001: wait  0 ms00D6: if  and0248:   model 248 available 004D: jump_if_false @Load_animal_1_check009A: [email protected] = create_actor  24 248 at  -1528.4247 -2360.1252 19.68960173: set_actor [email protected] z_angle_to 175.5902 02E2: set_actor [email protected] weapon_accuracy_to  10003FE: set_actor [email protected] money 004D8: set_actor [email protected] drowns_in_water 00946: set_actor [email protected] actions_uninterupted_by_weapon_fire 0 0446: set_actor [email protected] immune_to_headshots 00223: set_actor [email protected] health_to  4000//05E2: AS_actor [email protected] kill_actor $PLAYER_ACTOR:animal_check_point_105F5: AS_actor [email protected] goto_point -1527.8864 -2391.0952 24.4294 mode 5 30000 ms // versionB05F5: AS_actor [email protected] goto_point -1538.8053 -2403.949 30.1207 mode 5 30000 ms // versionB05F5: AS_actor [email protected] goto_point -1514.7582 -2405.6187 26.6179 mode 5 30000 ms // versionB05F5: AS_actor [email protected] goto_point -1520.9598 -2372.0264 20.563 mode 5 30000 ms // versionB  05D6: clear_scmpath05D7: add_point_to_scmpath -1527.8864 -2391.0952 24.429405D7: add_point_to_scmpath -1538.8053 -2403.949 30.120705D7: add_point_to_scmpath -1514.7582 -2405.6187 26.617905D7: add_point_to_scmpath -1520.9598 -2372.0264 20.56305D8: AS_assign_scmpath to_actor [email protected] flags 6 1:animal_Loop_10001: wait  0 ms00D6: if  08118:   NOT   actor [email protected] dead004D: jump_if_false @Cleanup_100D6: if  00104:   actor $PLAYER_ACTOR near_actor [email protected] radius  250.0  250.0  250.0 sphere  0004D: jump_if_false @Cleanup_10002: jump @animal_Loop_1:Cleanup_101C2: remove_references_to_actor [email protected] // Like turning an actor into a random pedestrianjump @animal_1

 

Edited by spidermight
Link to comment
Share on other sites

ShadowCoderKing

i have added the paths havent i ?

i need to know how to get the actor to walk the paths not run

Link to comment
Share on other sites

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
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.