Jump to content
Sign in to follow this  
Αplion

Paradrop issue - help needed

Recommended Posts

First of all please excuse me if I'm posting this in wrong place of the forum (if it is so, please admins move it).

Now about my issue, I'm making an MP mission in which I have a chopper transporting 8 men not in some group.

I need when the chopper gets into a triggered area, these 8 men to be eject paradropping.

Sound easy but so far any attempt in MP (either me as a server or on a dedicated) was a failure (usually most of the units jumping without parachute and they are killed).

Can anyone help me on this. Note as I said that the units are not groupped (I don't want them to be).

Thanks in advance.

Aplion

Share this post


Link to post
Share on other sites

Do you have a delay between the different jumps?

If not, most of the time some units don't get a chute.

Old server sync issues or so.

Share this post


Link to post
Share on other sites

Questions about mission editing belong in the mission editing forum, moving smile_o.gif

Share this post


Link to post
Share on other sites

@Q : I have 1.5 delay between the jumps.

@bluevein : The script at first link reffering to groups and as I mentioned above my units are not groupped.

As for the second link is in German so ... I don't understand it at all smile_o.gif

thanks anyway wink_o.gif

@Placebo : sorry for that mate, I thought that it might also belong to multiplayer forum as my problem was through MP mode  smile_o.gif

Share this post


Link to post
Share on other sites

try this (not tested):

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

_heli = _this select 0;

_delay = 1.5;

_jumpersArray = (crew _heli) - ([driver _heli]+[gunner _heli]+[commander _heli]);

for [{_i = 0}, {_i < count _jumpersArray}, {_i = _i + 1}] do

{

 _jumper = _jumpersArray select _i;

 _jumper action ["EJECT", _heli];

 unassignvehicle _jumper;

 sleep _delay;

};

Share this post


Link to post
Share on other sites

Sorry but I'm getting "Error generic error in expresion" regarding sleep _delay;

Share this post


Link to post
Share on other sites

I checked the code - it works (two teams)

only change I made was:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

_heli = h1;

instead of

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

_heli = _this select 0;

jumptn2.th.jpg

Share this post


Link to post
Share on other sites

how you do the parajump? name action ["eject",nameofplane]?

do you have a "and isserver" in the condition field of the trigger?

works for me this way. did you try the para.sqs that comes with the game?

and its a sqf not a sqs that was posted.

Share this post


Link to post
Share on other sites
how you do the parajump? name action ["eject",nameofplane]?

do you have a "and isserver" in the condition field of the trigger?

works for me this way. did you try the para.sqs that comes with the game?

and its a sqf not a sqs that was posted.

can you give me more details about it please ?

Share this post


Link to post
Share on other sites

about what exactly?

when you get an error cause of the sleep command its maybe cause you called the script as sqs, wich doesnt know the sleep command.

the para.sqs is a script existing in arma, think it works with groups only, so no help in your case.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">groupname exec "para.sqs"

i usually use

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">unitname action ["eject",airunitname]

f.e. soldier1 action ["eject",plane1]

this works nicely in sp and mp, to prevent that empty chutes get created for any connected client, let the trigger run on server only, condition= this and isserver

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×