Jump to content
Sign in to follow this  
shark-attack

paradrop problems (dedi play)

Recommended Posts

hi guys ..

i seem to be having issues with a script to eject a group from chopper on dedicated server play ...

=======================

;?!(local server) : exit

_Group = _this select 0

_Vehicle = _this select 1

_listunits = units _Group

_A = 0

_B = count _listunits

#KEEPSENDING

_listunits select _A action ["EJECT", _vehicle]

Unassignvehicle (_listunits select _A)

_A=_A+1

~.5

?_B >_A:goto "KEEPSENDING"

~.5

MoveNext = TRUE

=======================

i have logic server in mission...

the problem only occurs on dedi server..

instead of the 12 paras who start the mission in cargo being ejected it looks like 12 paras eject for everyplayer who is in game .. 10 players = 120 paras (some empty chutes )

can anyone see what im doing wrong or know of another paradrop script i could use (dedi friendly)

many thanx in advance shark-attack  :crazy

couldnt seem to wrap code so sorry in advance also

Share this post


Link to post
Share on other sites

You have commented out the server check line at least.

Heres what I used last time:

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

// nul=[helo1,paragroup] execVM "thisscript.sqf";

if (!local server) exitwith {};

_v = _this select 0;

_g = _this select 1;

{

if (vehicle _x == _v) then {

unassignvehicle _x;

[_x] ordergetin false;

_x action ["eject", vehicle _x];

};

sleep 2;

} foreach units _g;

Share this post


Link to post
Share on other sites
Quote[/b] ]You have commented out the server check line at least.

by having ;

before ?! (local server) : exit ??

thanx for reply

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  

×