ok here is what i want to do:- first i want to set a few U.S.A soldiers to get in a russian B.M.P as hostages which will drive them to a russian base, I then want them to get out and wait to be rescued. then when my squad clears the base and walks up to the captive men i want them to join my group if any one can help me out, it would make my like a lot easier
thx in advance
Abyss ;D
You didnÂ't gave me enough info so I have no idea what u need help with so I help you with everything ;D. The first one, to get the soldiers in da BMP. Write this in their init field:
this moveincargo BMP_NameThis will automatic put them in da BMP.
Now, do ya know how to make hostages? IÂ'll take it here then:
Firstly, we need to remove any weapons from da hostages, put this in da init field, dont forget the ";"!
removeallweapons thisand then we need to make em hostages.
this setcaptive trueThis was the easy part. Now well do a little scripting! Fun, eh? Now this is kinda hard if youÂ've never scripted so I have done one for ya! All ya have to do is to put this in a triggers on act field that is activated when east is dead:
[TheHostagesGroupName, DaPlayersName, WhenThePlayerReachesThisUnitOrTriggerTheWholeThingStarts] exec "SaveMe.sqs"
IÂ'm sorry I didnÂ't make a more advanced script. I tried but it got f*cked up. Ok, heres what you should do after youÂ've put this in da on act line, but first, IÂ'm gonna tell ya all this long names and what u need to put in them:
TheHostagesGroupName is the groupname of da hostages. Put this in da leaders init field of da hostages (if yer hostages is not grouped then this will not work and I have to tell you the boring editor way ;D):
YourGroupName = units group thisDaPlayersName is: Do you got any brain at all? DA PLAYERS NAME ;D
WhenThePlayerReachesThisUnitOrTriggerTheWholeThingStarts is: An area of 10x10 that can be a trigger, a unit or whatever and if the player walkes in that area the hostages will join him.
Heres what u do after youÂ've put in da exec line:
Sit back, enjoy your ride and stab a buddy in his/her back.
Sorry for the unadvanced thing. Some1 more experienced can perhaps do an improvment of this script.