Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
furikuri

MP paradrop using the HALO_getout.sqs

Recommended Posts

I have made a multiplayer mission for my group that has two C130's flying in and at a certain point along their path forces everyone out if they are players, and then the player is able to open and steer their chute without me having to go and place steerable chutes and move players into them. I managed to come up with a solution that appeared to work.

This is in the init of the leaders in a group:

{_x assignAsCargo my_c130} foreach units group this;  {_x moveinCargo my_c130} foreach units group this;

This is inside of eject.sqf that is executed when the C130's hit a waypoint:

if (!isServer) exitwith{};

{
if (isPlayer _x) then {
_x action [ "eject", my_c130]; _x setvelocity [0,0,0]; [_x] exec "ca\air2\halo\data\Scripts\HALO_getout.sqs";
sleep 0.5;
};
} forEach (crew my_c130);

The mission was tested at the end of one of our sessions and so about 14 people played it, as soon as they were forced out of the plane a large number of them were injured, some were killed and only one had the ability to open his own chute and then steer it. I'm wondering why this is because the script should force them out one at a time every 0.5 seconds so that they don't collide and everyone of them should be like the single guy that had it working.

Edit: I just tested the script while commenting out the check for whether it was a player or not and ALL of the AI made it to the ground and opened their own chute, I'm still curious as to whether this will have any issues in MP so any information on that would be great.

Edited by furikuri

Share this post


Link to post
Share on other sites

So I tested it out again just before a session and everyone was given a parachute and uninjured when exiting the plane.. but it was the wrong type of parachute for everyone except me. Is there any reason why one person gets a steerable chute, but the rest don't?

Share this post


Link to post
Share on other sites
Sign in to follow this  

×