Home   Help Search Login Register  

Author Topic: How to have 2 MP playable Groups to Capture a Fleeing enemy Officer.  (Read 1215 times)

0 Members and 1 Guest are viewing this topic.

RONIN =ASP=

  • Guest
Heya ppl..

I could do with a little Help with an Idea that I have and would like to implement.

I have 2 MP groups - Alpha and Bravo - Alpha is a 9-man Ranger team, and Bravo is a 4 man recon team. I have a small communications outpost, patrolled by a small enemy unit, with an officer @ the Outpost.

When the attack starts, The officer will start to make a run for it (gets in jeep and Flees). Their are a couple of things I would like to be able to do.

First off, If the officer manages to get in the Jeep, and the jeep is damaged (Shoot out Tyres), How would I get him to abandon the Jeep and start to run on foot?
Secondly, If I find a solution to the above, How would I give the ability for any member of both Alpha and Bravo squads to capture the officer while hes on foot, so he can spill the beans with Intel which can be used (Which I got Covered)

I know how to do this for a specific member of a group, but I want anybody to b able to capture this Guy and give him a good kicking  ;D MP stuff like this is abit difficult for my Dumbass to fathom heh  ???

As always, your help would be much Appreciated..

Thanx in Advance.

RONIN =ASP=

  • Guest
Have figured tht the Officer will get out of the jeep when the tyres are shot out - Great!

I also got the officer to surrender to the player using a trigger tht follows the officer - Great!

I could do with some real help in getting the officer to now follow his captor, which can be anybody from Alpha or Bravo Squad, so tht we can take him to teh holding pen..This is in a Multiplayer Environment

Any Ideas Guys? Again, you help would be much appreciated - Thanx in Advance..

Edit...

I'll try and make it abit more clear...

I making the mission MP and need to have any unit from both Groups - Alpha and Bravo - to be able to have this officer follow them to the holding area.
The distance thing won't work because I am not specifing a single unit who will capture this Guy. The officer is called rebeloff1 and I have a west present trigger tracking the officer, so tht if any west guy gets near him he will surrender, But..I have no idea of how to get the officer (rebeloff1) to follow the captor (Playable Dude who activates the trigger), be him from either Alpha or Bravo Squad...
« Last Edit: 13 May 2005, 03:22:52 by Ronin =ASP= »

Offline spiffalski

  • Members
  • *
  • Rokydny
Cant you just do a for loop in script to check for distance for each unit in alpha and bravo groups.

When one of these units becomes closest he becomes the captor (captor=unit7 or whatever).

You can use a for loop similar to that used for parachute ejection.

How you get the captive to follow the captor is a different matter. Is there a follow command?
I'm not sure if he can join your group if he is a different side etc.
One persons problem is someone else's solution.

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
must be run on machine where officer/prisoner will be local, this will be the server


prisoner setcaptive true

#START
~5
prisoner dofollow soldiername
goto "START"

would do it

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


following idea is untested
you could make the captor, the formation leader for the captive, he may follow him
« Last Edit: 26 May 2005, 13:52:51 by Terox »
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123