Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [thisTrigger] spawn {
- if (( getposatl vehicle player) select 2 > 500) then{
- private _position = vehicle player getRelPos [0,0];
- private _newPos = _position vectorAdd [0,0,1000];
- _missileDir = _newpos vectorFromTo getPosATL vehicle player;
- _missile = createVehicle ["vn_bomb_2000_mk84_he_ammo", _newpos, [], 0, "CAN_COLLIDE"];
- triggerammo _missile;
- [_missile, vehicle player] spawn {
- params ["_missile", "_tgt"];
- sleep 0.1;
- _missile setMissileTarget _tgt;
- };
- }else{};
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement