Forum Jump :

Author Message


Posts: 7
Rank:


Level: Member

Country: es
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2013-10-29 20:19        
     
Hello!

I want a waypointed heli paradrop a script spwaned group.

As I dont know the group name to call the typical paradrop script via trigger / waypoint, I am trying to use assignedCargo to have the correct array of units (I mean, not the crew)

This is what I am making:

_vehicle = _this select 0;

_list = assignedCargo _vehicle


{
unAssignVehicle _x;
_x allowDamage false;
moveOut _x;
sleep 0.35;
_chute = createVehicle ["NonSteerable_Parachute_F", (getPos _x), [], 0, "NONE"];
_chute setPos (getPos _x);
_x moveinDriver _chute;
_x allowDamage true;
sleep 0.5;
} forEach units _list;

The units are assignAsCargo and moveInCargo

Unfortunately, it is not working.

Help?


Author Message


Posts: 7
Rank:


Level: Member

Country: es
Location:
Occupation:
Age:
In-game name:

 
#2 Posted at 2013-10-31 14:38        
     
Hi, just to give useful info. The mistake of the code is the forEach units _list. Use forEach _list and Works.

This is a very useful script to paradrop groups without giving a name to the group. 100% of published scripts need one.

Hope helps someone.