Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _boostVic = {
- params["_target"];
- _target = vehicle player;
- if (speed _target > 5) then {
- _speed = true;
- for "_i" from 0 to 250 do {
- if (_speed) then {
- if (speed _target < 200) then {
- _vel = velocityModelSpace _target;
- _target setVelocityModelSpace [
- (_vel select 0),
- (_vel select 1) * 1.025,
- (_vel select 2)
- ];
- };
- if (getPos _target select 2 < 5 && speed _target > 100) then {
- _vel = velocityModelSpace _target;
- _target setVelocityModelSpace [
- (_vel select 0),
- (_vel select 1),
- (_vel select 2) + 0.2
- ];
- };
- if (speed _target > 300) then {
- _speed = false;
- }
- };
- ["","","","","","",_target] spawn BIS_fnc_effectFiredRocket;
- sleep 0.02;
- };
- };
- };
- [_target] spawn _boostVic;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement