Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SiC_fnc_placeSandBag = {
- _sandBag = createVehicle ["Land_BagFence_01_round_green_F",(_this select 1) modelToWorld [0,2,0], [], 0, "CAN_COLLIDE"];
- _sandBag = createVehicle ["Land_DirtPatch_01_6x8_F",(_this select 1) modelToWorld [0,2,0], [], 0, "CAN_COLLIDE"];
- _sandBag = createVehicle ["ClutterCutter_small_2_EP1",(_this select 1) modelToWorld [0,2,0], [], 0, "CAN_COLLIDE"];
- _sandBag setDir getDir (_this select 1) - 180;
- (_this select 1) removeAction (_this select 2);
- _id = _sandBag addAction ["Remove Sandbags", {call SiC_fnc_removeSandBag}];
- };
- SiC_fnc_removeSandBag = {
- deleteVehicle (_this select 0);
- _id = (_this select 1) addAction ["Place Sandbags", {call SiC_fnc_placeSandBag}];
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement