Advertisement
Guest User

Untitled

a guest
May 26th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. switch (_TypNumber) do
  2. {
  3. // W _Unit_Pool_S Wpisujemy classname'y jednostek piechoty (SOLDIERS)
  4. // W _Unit_Pool_V Wpisujemy classname'y pojazdów kołowych (VEHICLES)
  5. // W _Unit_Pool_T Wpisujemy classname'y pojazdów gąsienicowych (TRACKED)
  6. // W _Unit_Pool_T Wpisujemy classname'y pojazdów lotniczych (AIR) [nie zalecam]
  7. // 1,2 i 3 classname w _Unit_Pool_S mają znaczenie. Dwa pierwsze to kolejno classname załogi pojazdu lotniczego i classname załogi pojazdu gąsienicowego
  8. // 3-ci classname to classname dowódcy oddziału piechoty na DACu
  9. //-------------------------------------------------------------------------------------------------
  10. //ZMOTORYZOWANE CDF
  11. case 0:
  12. {
  13. _Unit_Pool_S = ["LOP_ISTS_Infantry_Rifleman_5","LOP_ISTS_Infantry_Rifleman","LOP_ISTS_Infantry_SL","LOP_ISTS_Infantry_Rifleman_2","LOP_ISTS_Infantry_AT","LOP_ISTS_Infantry_Rifleman_AR"];
  14. _Unit_Pool_V = [];
  15. _Unit_Pool_T = [];
  16. _Unit_Pool_A = [];
  17. };
  18. case 1:
  19. {
  20. _Unit_Pool_S = ["LOP_ISTS_Infantry_Rifleman_5","LOP_ISTS_Infantry_AT","LOP_ISTS_Infantry_SL","LOP_ISTS_Infantry_Rifleman_AR"];
  21. _Unit_Pool_V = [];
  22. _Unit_Pool_T = [];
  23. _Unit_Pool_A = [];
  24. };
  25. case 2:
  26. {
  27. _Unit_Pool_S = ["LOP_ISTS_Infantry_Rifleman_5","LOP_ISTS_Infantry_AT","LOP_ISTS_Infantry_SL","LOP_ISTS_Infantry_Rifleman_AR","LOP_ISTS_Infantry_Rifleman_AR_Asst","LOP_ISTS_Infantry_Marksman"];
  28. _Unit_Pool_V = [];
  29. _Unit_Pool_T = [];
  30. _Unit_Pool_A = [];
  31. };
  32. case 3:
  33. {
  34. _Unit_Pool_S = ["LOP_ISTS_Infantry_Rifleman_4","LOP_ISTS_Infantry_AT","LOP_ISTS_Infantry_SL","LOP_ISTS_Infantry_Rifleman_AR","LOP_ISTS_Infantry_Marksman"];
  35. _Unit_Pool_V = [];
  36. _Unit_Pool_T = [];
  37. _Unit_Pool_A = [];
  38. };
  39. case 4:
  40. {
  41. _Unit_Pool_S = ["LOP_ISTS_Infantry_Rifleman_4","LOP_ISTS_Infantry_Rifleman_AR"];
  42. _Unit_Pool_V = [];
  43. _Unit_Pool_T = ["LOP_ISTS_BMP2"];
  44. _Unit_Pool_A = [];
  45. };
  46. Default
  47. {
  48. if(DAC_Basic_Value != 5) then
  49. {
  50. DAC_Basic_Value = 5;publicvariable "DAC_Basic_Value",
  51. hintc "Error: DAC_Config_Units > No valid config number";
  52. };
  53. if(true) exitwith {};
  54. };
  55. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement