ShadowCoderKing Posted July 7, 2009 Share Posted July 7, 2009 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 More sharing options...
2pacproducer2 Posted July 7, 2009 Share Posted July 7, 2009 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 More sharing options...
ShadowCoderKing Posted July 7, 2009 Author Share Posted July 7, 2009 thanks 2pac and by the way i do use opcode seach and post here if i cant find the right one Link to comment Share on other sites More sharing options...
ShadowCoderKing Posted July 7, 2009 Author Share Posted July 7, 2009 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 Link to comment Share on other sites More sharing options...
ZAZ Posted July 7, 2009 Share Posted July 7, 2009 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 please post the whole script or did you really use [email protected] in a cs file? CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
ShadowCoderKing Posted July 7, 2009 Author Share Posted July 7, 2009 (edited) 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 July 7, 2009 by spidermight Link to comment Share on other sites More sharing options...
ZAZ Posted July 7, 2009 Share Posted July 7, 2009 I explained in the other topic how to add more scm paths CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
ShadowCoderKing Posted July 7, 2009 Author Share Posted July 7, 2009 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 More sharing options...
ZAZ Posted July 7, 2009 Share Posted July 7, 2009 i have added the paths havent i ?i need to know how to get the actor to walk the paths not run flags 4 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
ShadowCoderKing Posted July 7, 2009 Author Share Posted July 7, 2009 thanks zaz it works perfect now cheers Link to comment Share on other sites More sharing options...
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