Jump to content

how to make a race mission


ya_4

Recommended Posts

at the beginning

..

Sorry for the many question confused.gif

..

I want to make a race mission

..

I have searched the Internet . notify.gif

..

But I did not see any tutorial to this . notify.gif

..

if any one Can give me an example for that . smile.gif

..

Or illustrated for me . < This will be the best biggrin.gif

 

Link to comment
Share on other sites

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

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
  • 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.