Jump to content

how to make a race mission


Recommended Posts

example:

 

06D5: 1@ = create_racing_checkpoint_at 0.0 100.0 25.0 point_to 0.0 101.0 25.0 type 6 radius 10.0039F: set_car 0@ race_to 0.0 100.0 repeatwait 0until 00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 0.0 100.0 25.0 radius 10.0 1.0 10.0 06D6: disable_racing_checkpoint 1@06D5: 1@ = create_racing_checkpoint_at 0.0 150.0 25.0 point_to 0.0 151.0 25.0 type 6 radius 10.0039F: set_car 0@ race_to 0.0 150.0 repeatwait 0until 00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 0.0 150.0 25.0 radius 10.0 1.0 10.0 06D6: disable_racing_checkpoint 1@

 

 

first you create a checkpoint, then you make the other car race towards it

and then you make a loop to check if the actor is in the checkpoint, and when he is, you do the all thing all over again

 

this is only the basic, im not talking about mission failed checking and stuff like that

thats just to illustrate a race checkpoint

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
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

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