darkstaride

Untitled

Dec 10th, 2015
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 1.26 KB | None | 0 0
  1. /* =============================================
  2.     ambush4.sqf
  3.     Author: richarddanh.com
  4. ================================================= */
  5.  
  6. //IEDS Activate
  7. bomb="Bo_GBU12_lgb" createVehicle (getPos ied_7);
  8. bomb="Bo_GBU12_lgb" createVehicle (getPos ied_8);
  9.  
  10. //Deleting IEDs
  11. deletevehicle ied_7;
  12. deletevehicle ied_8;
  13. sleep 4;
  14.  
  15. //Spawn Units
  16. _ambushgroup9 = [(getMarkerPos "ai_spawn9"), EAST, (configFile >> "CfgGroups" >> "east" >> "RU" >> "Infantry" >> "RU_InfSquad") ,[],[],[],[],[],90] call BIS_fnc_spawnGroup;
  17. waituntil {!isNil "_ambushgroup9"};
  18. _ambushgroup9 setBehaviour "COMBAT";
  19. _ambushgroup9 SetCombatMode "RED";
  20. sleep 0.1;
  21.  
  22. //Spawn Units
  23. _ambushgroup10 = [(getMarkerPos "ai_spawn10"), EAST, (configFile >> "CfgGroups" >> "east" >> "RU" >> "Infantry" >> "RU_InfSquad") ,[],[],[],[],[],270] call BIS_fnc_spawnGroup;
  24. waituntil {!isNil "_ambushgroup10"};
  25. _ambushgroup10 setBehaviour "COMBAT";
  26. _ambushgroup10 SetCombatMode "RED";
  27. sleep 0.1;
  28.  
  29. //Spawn Units
  30. _ambushgroup11 = [(getMarkerPos "ai_spawn11"), EAST, (configFile >> "CfgGroups" >> "east" >> "RU" >> "Infantry" >> "RU_InfSquad") ,[],[],[],[],[],270] call BIS_fnc_spawnGroup;
  31. waituntil {!isNil "_ambushgroup11"};
  32. _ambushgroup11 setBehaviour "COMBAT";
  33. _ambushgroup11 SetCombatMode "RED";
  34. sleep 0.1;
Advertisement
Add Comment
Please, Sign In to add comment