trickstar34 Posted May 23, 2009 Share Posted May 23, 2009 How do you make the player stop in sphere's like they do with the unmodded mission's? I cant find any opcodes for it either, just condition checks to see if its stopped, so how do you do it? Link to comment Share on other sites More sharing options...
gtasearcher Posted May 24, 2009 Share Posted May 24, 2009 0101: actor $PLAYER_ACTOR in_sphere [email protected] [email protected] [email protected] radius 5.0 5.0 3.0 sphere 0 stopped 0102: actor $PLAYER_ACTOR in_sphere 2468.8 -1278.2 29.1 radius 1.2 1.2 3.0 sphere 1 stopped_on_foot 0103: actor $PLAYER_ACTOR in_sphere -1577.942 52.6333 16.3281 radius 4.0 4.0 6.0 sphere 0 stopped_in_car Opcode Tool, buddy Link to comment Share on other sites More sharing options...
trickstar34 Posted May 24, 2009 Author Share Posted May 24, 2009 0101: actor $PLAYER_ACTOR in_sphere [email protected] [email protected] [email protected] radius 5.0 5.0 3.0 sphere 0 stopped 0102: actor $PLAYER_ACTOR in_sphere 2468.8 -1278.2 29.1 radius 1.2 1.2 3.0 sphere 1 stopped_on_foot 0103: actor $PLAYER_ACTOR in_sphere -1577.942 52.6333 16.3281 radius 4.0 4.0 6.0 sphere 0 stopped_in_car Opcode Tool, buddy those dont make you stop, as I said in original post, they just check if your stopped in the sphere, they dont force the car to stop. Link to comment Share on other sites More sharing options...
ZAZ Posted May 24, 2009 Share Posted May 24, 2009 How do you make the player stop in sphere's like they do with the unmodded mission's? I cant find any opcodes for it either, just condition checks to see if its stopped, so how do you do it? 01B4: is used very often by starts of script sequences or cutscene player_actor isnt controlable then and stand still 0519: locks the car in current position. Driving with highspeed into the sphere lets the car keep position if that code runs then the equivalent for actors is 04D7: set_actor $PLAYER_ACTOR locked 1 01B4: set_player $PLAYER_CHAR frozen_state 0 (frozen)01B4: set_player $PLAYER_CHAR can_move 0Player.CanMove($PLAYER_CHAR) = FalseCar.LockInCurrentPosition([email protected]) = True0519: set_car [email protected] locked 1 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
trickstar34 Posted May 26, 2009 Author Share Posted May 26, 2009 how can I prevent the player from targeting a specific actor? Link to comment Share on other sites More sharing options...
gtasearcher Posted May 26, 2009 Share Posted May 26, 2009 how can I prevent the player from targeting a specific actor? 0568: set_actor $actor targetable 0 Link to comment Share on other sites More sharing options...
james227uk Posted May 26, 2009 Share Posted May 26, 2009 how can I prevent the player from targeting a specific actor? I think there should be a pinned topic about the opcode search. You know about the opcode search, but your not using it 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