Advertisement
Guest User

Untitled

a guest
Jul 7th, 2015
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. #define NO_PLANK_CLASSES ["VC","VG","VD","P"]
  2.  
  3. adm_hc_defaultNames = ["HC", "HeadlessClient"];
  4. call compile preProcessFileLineNumbers "admiral\admiral_init.sqf";
  5. call compile preprocessFileLineNumbers "plank\plank_init.sqf";
  6.  
  7. private "_gearClass";
  8. _gearClass = player getVariable "hull3_gear_class";
  9. if (!(_gearClass in NO_PLANK_CLASSES)) then
  10. {
  11. [player, [6]] call plank_api_fnc_forceAddFortifications; // Assign only if NOT one of the IFV or Pilot units
  12. };
  13.  
  14. waitUntil
  15. {
  16. sleep 1;
  17. [] call hull3_mission_fnc_hasSafetyTimerEnded;
  18. };
  19.  
  20. [player] call plank_delpoy_fnc_forceRemoveAllFortifications;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement