Home   Help Search Login Register  

Author Topic: Hostages  (Read 758 times)

0 Members and 1 Guest are viewing this topic.

Abyss

  • Guest
Hostages
« on: 25 Feb 2003, 17:08:22 »
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

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Hostages
« Reply #1 on: 25 Feb 2003, 17:49:49 »
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_Name

This 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 this

and then we need to make em hostages.

this setcaptive true


This 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 this

DaPlayersName 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.
« Last Edit: 25 Feb 2003, 19:28:05 by The real Armstrong »

MrZig

  • Guest
Re:Hostages
« Reply #2 on: 26 Feb 2003, 05:34:35 »
Okay, do everything The real Armstrong says, except now instead of downloading the script and inserting [TheHostagesGroupName, DaPlayersName, WhenThePlayerReachesThisUnitOrTriggerTheWholeThingStarts] exec "SaveMe.sqs", all you have to do is make a trigger of however big you want your trigger to be (so when your group goes in the trigger, they join) then group it to your squad and put this in the activation field

[unitname1,unitname 2,unitname 3] join player

Unitnames being the captives names, that easy ;)
« Last Edit: 26 Feb 2003, 05:36:05 by MrZig »