Jump to content
Sign in to follow this  
febriannas

locked ammo box for other side?

Recommended Posts

You could fool around with container EHs to kick the player out of a box. The more straight forward way is to create the boxes locally.

if (isDedicated) exitWith {};
waitUntil {!isNull player && {time > 1}};

switch (side player) do {
case west:{_crate = "Box_NATO_Wps_F" createVehicleLocal (getPosATL myPos1);};
case east:{_crate = "Box_East_Wps_F" createVehicleLocal (getPosATL myPos2);};
case resistance:{_crate = "Box_IND_Wps_F" createVehicleLocal (getPosATL myPos3);};
default:{_crate = "Box_IND_Ammo_F" createVehicleLocal (getPosATL myPos4);};
};

Share this post


Link to post
Share on other sites
You could fool around with container EHs to kick the player out of a box.

I was messing around with the container EH when I found it doesn't work on stable and made my thread about it, to answer this question. lol

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  

×