Jump to content

mission problem


Bad.boy!

Recommended Posts

I converted my last script to a mission. Everythings works fine now, but when I get to the third wave of enemies, no one shows up and I get the message mission passed.

 

And the police cars drive like a normal car, but I want them to ignore roads and drive as fast as possible.

 

EDIT:

SOLVED

Edited by Bad.boy!
Link to comment
Share on other sites

I tried to replace 20@ t/m* 28@ with 30@ t/m* 38@, but the game crashes when the script sets the accuracy for actor 32@.

I thought that you could have more then 31 locals when making a mission, or is this only in .scm?

 

EDIT: t/m = up to and including

Edited by Bad.boy!
Link to comment
Share on other sites

32@ is a timer. The game engine will automatically add 1 to it every millisecond. Thus, you can not use it (or 33@ for that matter) as a handle.

pkmTc.gif

Link to comment
Share on other sites

Does anyone know why this opcode creates 4 swat members and how to prevent them from spawning?

 

0727: set_heli 20@ behavior_to_police_heli_and_follow_actor $PLAYER_ACTOR follow_car -1 radius 20.0

 

And does anyone know how to destroy all actors around cj?

 

I fixed my problem btw, the coords were invalid.

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.