Advertisement
Guest User

Untitled

a guest
Apr 26th, 2015
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. /*
  2. Info: Shoot and reammo script for Artillery
  3.  
  4. Autor: Artur
  5.  
  6. TO USE:
  7. Add to trigger on Act with repeat
  8.  
  9. x = [_this, _marker, _totalshots] execVM "scripts\reload_artilleria.sqf" --> substituir this por nombre de vehículo
  10.  
  11. */
  12. _object = _this select 0;
  13. _position = _this select 1;
  14. _numshots = _this select 2;
  15.  
  16. _type = typeOf _object;
  17.  
  18.  
  19. _magazines = getArray(configFile >> "CfgVehicles" >> _type >> "magazines");
  20.  
  21. _object doArtilleryFire [getmarkerpos _position,_magazines,_numshots];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement