Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. private _car = _this select 0;
  2. if(isNull _car) exitWith {};
  3.  
  4. _car setVariable ["gyro",true,true];
  5.  
  6. [_car] spawn {
  7. _car = _this select 0;
  8. for "_i" from 0 to 1 step 0 do {
  9. if(_car getVariable ["gyro",false]) exitWith {
  10. {_car setHit[_x,1];} forEach ["lightg01_h","lightg05_h"];
  11. };
  12. _car setHit["lightg01_h",0];
  13. sleep 0.15;
  14. _car setHit["lightg01_h",1];
  15. sleep 0.15;
  16. _car setHit["lightg01_h",0];
  17. sleep 0.2;
  18. _car setHit["lightg01_h",1];
  19. _car setHit["lightg05_h",0];
  20. sleep 0.15;
  21. _car setHit["lightg05_h",1];
  22. sleep 0.15;
  23. _car setHit["lightg05_h",0];
  24. sleep 0.2;
  25. _car setHit["lightg05_h",1];
  26. };
  27. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement