HI.
We got the best war-like gameplay experience with ALIVE. For that we say THANK YOU guys.
Anyway there are some stuff which we need to make beter.
The greates thing is resupply our combatants. For example the two rhs boxes with Arsenal functionallity but in SP only.
That is why i am trying to set VAS and Arsenal MP functionallity to the boxes which comes from resupply.
Have already some ideas and its works but only once i dont knew how to repeat once exited while loops.
Please help me.
The greatest problem for me is define non existing boxes.
ammoresupply=true; weaponresupply=true; [] spawn {while{ammoresupply} do { { if (typeof _x == "rhsusf_ammo_crate") then { [_x,"ammoresupply_fnc_ARSENAL",nil,true] spawn BIS_fnc_MP; [_x,"ammoresupply_fnc_VASAMMO",nil,true] spawn BIS_fnc_MP; ammoresupply=false } } foreach (NearestObjects [player, [], 100]); sleep 0.5; }; }; [] spawn {while{weaponresupply} do { { if (typeof _x == "rhsusf_weapons_crate") then { [_x,"ammoresupply_fnc_ARSENAL",nil,true] spawn BIS_fnc_MP; [_x,"ammoresupply_fnc_VASAMMO",nil,true] spawn BIS_fnc_MP; weaponresupply=false } } foreach (NearestObjects [player, [], 100]); sleep 0.5; }; };
I belive there must by any way to reach the target, knewed by scripters.
Or maybe integrate some code with alive player resupply...
Please help me.