secondcoming

count live bikes

Jul 16th, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.33 KB | None | 0 0
  1. _middle             = worldSize/2;         
  2. _spawnCenter        = [_middle,_middle,0];
  3. _vehTypes = ["Exile_Bike_OldBike","Exile_Bike_MountainBike"];
  4. {
  5.     _veh = _x;
  6.     _count = count(_spawnCenter nearObjects [_veh, 20000]);
  7.     _logDetail = format["Found %2 %1",_veh,_count];
  8.     ["BIKECOUNT",_logDetail] call FNC_A3_CUSTOMLOG;
  9.  
  10. }forEach _vehTypes;
Add Comment
Please, Sign In to add comment