Jump to content

Got a problem with a mission script


Recommended Posts

I was making a mission in which you are in a SWAT team, but got a problem.

 

When I aim at them, they surrender. How can I make them ignore it (or ignore the player, at least)?

I set acquaintance 1 (tried 0, too) for them to the player, but that didn't work. Setting their decision maker to 32 won't help me, as then they will ignore everyone. Decison maker 0 and 3 didn't work.

I looked at the script for the "A home in the Hills" mission, but that didn't really help me.

 

 

Found the solution, this can be closed.

 

~~Unknown

Edited by Unknowness
Link to comment
https://gtaforums.com/topic/434823-got-a-problem-with-a-mission-script/
Share on other sites

 

0350: set_actor 2@ maintain_position_when_attacked 1 

 

 

Perhaps this one will help?

Not really, they won't run away, but still they surrender. Thanks anyway.

 

I already found solution to my problem. Decison maker type 2 works, I just though that I have already tried it, so didn't used it. But then I noticed that there was a lot of the type 2 creating in the original missions, so I tried it myself and it works perfectly.

  • 1 month later...

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.