Results 1 to 10 of 10

Thread: Get PoW's in a vehicle?

  1. #1
    Hi,

    in my mission I'm having a certain point where a group of enemy forces surrender and become PoW's (Prisoners of War). HQ wants to interrogate them and therefore they have to be transported to the main base.
    But I can't make them board the heli that comes to pick'em up. The blackhawk lands and then ... they just stand there. The Blackhawk keeps waiting until his fuel runs out, but the captives are just too stubborn to get in American made helicopters.

    I've tried the standard Get In-Load-waypoints(yes, I sync'ed them), as well as the join-scripting (between heli and PoW's).
    I could make it easy for me by letting the PoW's join the player's squad, so player can give them the command to enter the BH. But I don't want to have 7 former East-soldiers suddenly popping up on the bottom of your screen as teammates, 'cause they don't become a part of your team in real life, I believe.

    Any help is greatly appreciated.

  2. #2
    I've had some of the same issue but i don't think there's any way that you can make enemy units board a friendly vehicle. I tried with the moveincargo code but as soon as they are inside the vehicle, the friendly units attack and destroy the vehicle because of the enemy inside.

  3. #3
    This might just do it actually. As a PoW is a "civilian" in an uniform, they shouldn't be fired at. I'll try it as soon as I have some time available.

    (In your case, perhaps you're forgetting the SetCaptive-commands?)




  4. #4
    Quote Originally Posted by (Eagle-Eye @ Oct. 14 2007,13:49)
    (In your case, perhaps you're forgetting the SetCaptive-commands?)
    Nope i set the units to setcaptive and even tried to do on the vehicle.

  5. #5
    Quote Originally Posted by (6thStorm @ Oct. 14 2007,14:31)
    Quote Originally Posted by (Eagle-Eye @ Oct. 14 2007,13:49)
    (In your case, perhaps you're forgetting the SetCaptive-commands?)
    Nope i set the units to setcaptive and even tried to do on the vehicle.
    have you removed all ammo and weapons before setcaptive ?

  6. #6
    If you are using waypoints and stuff you could make the PoW's join the helicopter group, just make sure their ranks are lower than the helicopter ..
    http://community.bistudio.com/wiki/joinSilent
    .

  7. #7
    I haven't tried this in ArmA but in OFP setting a unit captive wouldn't work. You had to add them to your group which forces them to friendly.
    When you kill a man you're a murderer.....Kill many and you're a conqueror....Killem all and you're a GOD!

  8. #8
    Private First Class
    Join Date
    Aug 17 2007
    Location
    Everywhere and Nowhere
    Posts
    24
    I have almost no clue when it comes to scripting, but I do remember a command that set a unit to a certain side. Maybe you could use that with a trigger?

    ____
    Rob the bank again. I dare ya!

  9. #9
    Just a note, Norrin (Revive Script) is working on this and we have been discussing it, it is a problem that can be solved.

    Vengeance

  10. #10
    Hi all, I had a little mess around in the editor looking at this and came up with this.

    this is of course a mission.sqm file,just stick it in a folder in your \My Documents\ArmA\YOURNAME\missions and check it out in the editor. Hope its of some help.

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
    version=11;
    class Mission
    {
    addOns&#91;&#93;=
    {
    &#34;cacharacters&#34;,
    &#34;CAAir&#34;,
    &#34;desert&#34;
    };
    addOnsAuto&#91;&#93;=
    {
    &#34;cacharacters&#34;,
    &#34;CAAir&#34;,
    &#34;desert&#34;
    };
    randomSeed=14435331;
    class Intel
    {
    startWeather=0.100000;
    forecastWeather=0.300000;
    year=2007;
    month=6;
    day=7;
    hour=8;
    };
    class Groups
    {
    items=4;
    class Item0
    {
    side=&#34;WEST&#34;;
    class Vehicles
    {
    items=1;
    class Item0
    {
    position&#91;&#93;={2521.278320,13.860000,2573.849 121};
    azimut=48.946648;
    id=0;
    side=&#34;WEST&#34;;
    vehicle=&#34;SoldierWB&#34;;
    player=&#34;PLAYER COMMANDER&#34;;
    leader=1;
    skill=0.600000;
    };
    };
    };
    class Item1
    {
    side=&#34;WEST&#34;;
    class Vehicles
    {
    items=1;
    class Item0
    {
    position&#91;&#93;={2556.227783,13.860000,2602.904 785};
    azimut=-90.986397;
    special=&#34;FLY&#34;;
    id=1;
    side=&#34;WEST&#34;;
    vehicle=&#34;UH60MG&#34;;
    leader=1;
    skill=0.600000;
    text=&#34;c1&#34;;
    init=&#34;cgrp = group this;&#34;;
    };
    };
    };
    class Item2
    {
    side=&#34;EAST&#34;;
    class Vehicles
    {
    items=1;
    class Item0
    {
    position&#91;&#93;={2555.148438,13.860000,2571.697 998};
    special=&#34;NONE&#34;;
    id=2;
    side=&#34;EAST&#34;;
    vehicle=&#34;SoldierEB&#34;;
    leader=1;
    skill=0.600000;
    text=&#34;t1&#34;;
    init=&#34;removeallweapons this;this setcaptive true;this setunitpos &#34;&#34;UP&#34;&#34;;&#34;;
    };
    };
    };
    class Item3
    {
    side=&#34;WEST&#34;;
    class Vehicles
    {
    items=1;
    class Item0
    {
    position&#91;&#93;={2579.600098,13.860000,2580.772 705};
    azimut=-44.942848;
    special=&#34;NONE&#34;;
    id=3;
    side=&#34;WEST&#34;;
    vehicle=&#34;SoldierWAR&#34;;
    leader=1;
    skill=0.600000;
    text=&#34;testblue&#34;;
    };
    };
    };
    };
    class Markers
    {
    items=1;
    class Item0
    {
    position&#91;&#93;={2987.462402,22.762810,2596.372 314};
    name=&#34;testmarker&#34;;
    type=&#34;Flag&#34;;
    };
    };
    class Sensors
    {
    items=2;
    class Item0
    {
    position&#91;&#93;={2606.739014,14.557507,2580.246 338};
    a=0.000000;
    b=0.000000;
    interruptable=1;
    age=&#34;UNKNOWN&#34;;
    text=&#34;Get_in_chopper&#34;;
    name=&#34;Get_in_chopper&#34;;
    expCond=&#34;true&#34;;
    expActiv=&#34;POWGRP = createGroup WEST;&#91;t1&#93; join powgrp;{_x assignAsCargo c1} foreach units powgrp;{&#91;_x&#93; ordergetin true} foreach units powgrp&#34;;
    class Effects
    {
    };
    };
    class Item1
    {
    position&#91;&#93;={2607.303711,14.418737,2591.492 920};
    a=0.000000;
    b=0.000000;
    interruptable=1;
    age=&#34;UNKNOWN&#34;;
    text=&#34;in_chopper&#34;;
    name=&#34;in_chopper&#34;;
    expCond=&#34;t1 in c1&#34;;
    expActiv=&#34;&#91;t1&#93; join cgrp;c1 setcaptive true;c1 domove markerpos &#34;&#34;Testmarker&#34;&#34;&#34;;
    class Effects
    {
    };
    };
    };
    };
    class Intro
    {
    addOns&#91;&#93;=
    {
    &#34;desert&#34;
    };
    addOnsAuto&#91;&#93;=
    {
    &#34;desert&#34;
    };
    randomSeed=5660675;
    class Intel
    {
    startWeather=0.100000;
    forecastWeather=0.300000;
    year=2007;
    month=6;
    day=7;
    hour=8;
    };
    };
    class OutroWin
    {
    addOns&#91;&#93;=
    {
    &#34;desert&#34;
    };
    addOnsAuto&#91;&#93;=
    {
    &#34;desert&#34;
    };
    randomSeed=13711875;
    class Intel
    {
    startWeather=0.100000;
    forecastWeather=0.300000;
    year=2007;
    month=6;
    day=7;
    hour=8;
    };
    };
    class OutroLoose
    {
    addOns&#91;&#93;=
    {
    &#34;desert&#34;
    };
    addOnsAuto&#91;&#93;=
    {
    &#34;desert&#34;
    };
    randomSeed=14639619;
    class Intel
    {
    startWeather=0.100000;
    forecastWeather=0.300000;
    year=2007;
    month=6;
    day=7;
    hour=8;
    };
    };
    [/QUOTE]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •