private["_player","_vehicle","_ct","_vehicleCt","_driving","_distance"];
_player = player;
_ct = cursorTarget;
_vehicle ="SUV_Camo";
_vehicleCt = typeOf _ct;
_distance = _player distance _ct;
_driving =true;StopRemoteSUV=false;//check distance and vehicle typeif(_distance >5) exitWith {cutText ["You must be within 5 meters of the SUV","PLAIN DOWN"];};if(isNull _ct || _vehicleCt != _vehicle) exitWith {cutText ["Target is not a SUV.","PLAIN DOWN"];};//remote control vehicle
player remoteControl driver _ct;
driver _ct switchCamera "internal";
player remoteControl driver _ct;//exit remote control if distance from vehicle is > 100 or if you stop it(action menu call global StopRemoteSUV)while{_driving}do{if(_distance >100||StopRemoteSUV) exitWith {
objNull remoteControl driver _vehicle;// removes the remoteControlling
player switchCamera "internal";// returns to the player
cutText ["You lost control of vehicle","PLAIN DOWN"];
_driving =false;};
sleep 0.1;};
Question
Andrej
Can someone help me get working this script it does not 'remote control vehicle'
https://community.bistudio.com/wiki/remoteControl
Thank you
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now