les 0 Report post Posted July 3, 2009 (edited) I figured out how to get someone to follow you Here are the codes: create_thread @FOLLOW :FOLLOW wait 0 thread 'FOLLOW' $295 = -1 // integer values 0@ = -1 // integer values 1@ = -1 // integer values 7@ = 0 // integer values 8@ = 0 // integer values 9@ = 0 // integer values 3@ = 0 // integer values 4@ = 0 // integer values 5@ = 0 // integer values $296 = 0.0 // floating-point values :FOLLOW_87 wait $DEFAULT_WAIT_TIME 058C: $296 = percentage_completed :FOLLOW_97 if wait 100 008A: $297 = 1@ // integer values and handles 0085: 2@ = 5@ // integer values and handles 0085: 6@ = 9@ // integer values and handles 10@ = -404.3082 // floating-point values 11@ = -561.7204 // floating-point values 12@ = 17.9388 // floating-point values 13@ = 7.0257 // floating-point values 14@ = -404.3812 // floating-point values 15@ = -561.1186 // floating-point values gosub @FOLLOW_234 008B: 1@ = $297 // integer values and handles 0085: 5@ = 2@ // integer values and handles 0085: 9@ = 6@ // integer values and handles jump @FOLLOW_97 jump @FOLLOW_87 :FOLLOW_234 if Player.Defined($PLAYER_CHAR) else_jump @FOLLOW_772 if Player.InZone($PLAYER_CHAR, 'GANG1') else_jump @FOLLOW_495 if Player.Money($PLAYER_CHAR) > 6000 else_jump @FOLLOW_488 if 2@ == 0 // integer values else_jump @FOLLOW_488 Model.Load(#PGB) if Model.Available(#PGB) else_jump @FOLLOW_488 if 80C2: not sphere_onscreen 10@ 11@ 12@ 1.0 else_jump @FOLLOW_488 $297 = Actor.Create(CivMale, #PGB, 10@, 11@, 12@) Actor.Angle($297) = 13@ 0243: set_actor $297 ped_stats_to 4 01ED: reset_actor $297 flags 0568: set_actor $297 untargetable 1 0372: set_actor $297 anim 24 wait_state_time 60000000 ms 01C5: remove_actor_from_mission_cleanup_list $297 0319: set_actor $297 wander_state_to 1 Actor.Health($297) = 250 054A: set_actor $297 immune_to_vehicle_headshots 0 0446: set_actor $297 head_decapitatation_possible 1 03BC: 6@ = create_sphere 14@ 15@ 12@ 0.75 2@ = 1 // integer values Model.Destroy(#PGB) :FOLLOW_488 jump @FOLLOW_530 :FOLLOW_495 if 2 > 2@ // integer values else_jump @FOLLOW_530 Actor.RemoveReferences($297) 2@ = 0 // integer values 03BD: destroy_sphere 6@ :FOLLOW_530 if 2@ == 1 // integer values else_jump @FOLLOW_645 if not Actor.Dead($297) else_jump @FOLLOW_638 if 00F5: player $PLAYER_CHAR 0 14@ 15@ 12@ radius 1.0 1.0 2.0 else_jump @FOLLOW_631 01DF: tie_actor $297 to_player $PLAYER_CHAR 053D: (unknown) $297 03BD: destroy_sphere 6@ 2@ = 2 // integer values :FOLLOW_631 jump @FOLLOW_645 :FOLLOW_638 gosub @FOLLOW_795 :FOLLOW_645 if 2@ == 2 // integer values else_jump @FOLLOW_765 if not Actor.Dead($297) else_jump @FOLLOW_758 if 00E9: player $PLAYER_CHAR 0 $297 radius 100.0 100.0 else_jump @FOLLOW_744 if 8320: not actor $297 in_range_of_player $PLAYER_CHAR else_jump @FOLLOW_737 01DF: tie_actor $297 to_player $PLAYER_CHAR :FOLLOW_737 jump @FOLLOW_751 :FOLLOW_744 gosub @FOLLOW_795 :FOLLOW_751 jump @FOLLOW_765 :FOLLOW_758 gosub @FOLLOW_795 :FOLLOW_765 jump @FOLLOW_779 :FOLLOW_772 gosub @FOLLOW_795 :FOLLOW_779 jump @FOLLOW_793 gosub @FOLLOW_795 :FOLLOW_793 return :FOLLOW_795 if not 2@ == 0 // integer values else_jump @FOLLOW_884 Actor.RemoveReferences($297) if Player.Defined($PLAYER_CHAR) else_jump @FOLLOW_872 if not Player.InZone($PLAYER_CHAR, 'GANG1') else_jump @FOLLOW_865 2@ = 0 // integer values :FOLLOW_865 jump @FOLLOW_879 :FOLLOW_872 2@ = 0 // integer values :FOLLOW_879 03BD: destroy_sphere 6@ :FOLLOW_884 return Im still working out the kinks. Like i cant figure out how to change the model without the game crashing. Also, they dissapear when you change from driving to flying mode, and when time traveling he will dissapear but all the next times it will be fine. So if i could get some help that would be cool! Edited July 7, 2009 by les Share this post Link to post Share on other sites
Xtreme Gamer 0 Report post Posted July 11, 2009 How do we use this??? i added the code but how i use it? Share this post Link to post Share on other sites
jen 0 Report post Posted July 11, 2009 i know how to fix your problems 1. to change the actors skin use the special actor line like create special actor....take it off the ride mission 2 make an unknown game refresh when in flying mode you have to add that into the flying code im more of an artist but i know some code Share this post Link to post Share on other sites
les 0 Report post Posted July 13, 2009 How do we use this??? i added the code but how i use it? Go into the mansion and go right. There will be guy there. walk into the pink thing andhe will follow you. Share this post Link to post Share on other sites