Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. _pos = [deal_1, deal_2, deal_3, deal_4, Deal_5] BIS_fnc_selectRandom;
  2. _unit = [C_Orestes, C_Nikos, C_Nikos_aged] BIS_fnc_selectRandom;
  3.  
  4. _houseList = getMarkerPos "_pos" nearObjects ["House", 100];
  5. _house = _houseList call BIS_fnc_selectRandom;
  6. _buildingPos = _house call BIS_fnc_buildingPositions;
  7. _unitPos = _buildingPos call BIS_fnc_selectRandom;
  8. _dealer = [getMarkerPos "_unitPos", civ, [_unit]] call BIS_fnc_spawnGroup;
  9. _dealer setPosATL _unitPos;
  10.  
  11. _dealer = this addAction ["Spin Slots", life_fnc_slotmachine];
  12. if(!(playerSide isEqualTo civilian)) then
  13. {
  14. _markerstr = createMarker ["Dealer", _dealer];
  15. _markerstr setMarkerType "hd_warning";
  16. };
  17.  
  18. hint "Dealer has arrived";
  19. sleep 600;
  20. deleteVehicle _dealer;
  21. sleep 2;
  22. hint "Dealer has departed \ But will Return";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement