• 0
ViBrationNC

UAV BIG ISSUE

Question

Will the UAV issue ever be fixed? At the moment.. anyone can take over a UAV... not sure how all this works.. assuming its something to do with being independent.. blah blah blah. My question.. can it be made a vehicle like stomper or the other one that you can fly... there are no weapons on them.. so assign it to a different faction.. LOL I dunno how it works... but there has to be something that can be done.. short of raising the price of the UAV Term to 100000000 to prevent little brats from taking it over. Granted its a crutch to use.. but in certain circumstances.. its a very powerful tool. I run lonewolf alot and it comes in very handy at times... and I always run with a terminal just to check the skies to see if Im being followed. I think this system now is flawed.. anyway.. food for thought.. any ideas???

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

Posted (edited)

I know there is a script called created for this issue in Wasteland so a UAV could be assigned to a group or individual. I have attached it below as an example only!

Perhaps someone familiar with coding could  create something similar for Exile.

THIS IS A SCRIPT CREATED FOR WASTELAND, DO NOT USE FOR EXILE!!!!!!!! THIS IS AN EXAMPLE ONLY!!

//	@file Name: functions.sqf
//	@file Author: IvanMMM, micovery, AgentRev

private ["_perm", "_uav"];
_perm = ["A3W_uavControl", "side"] call getPublicVar;

if (_perm == "side") exitWith {};

while {true} do
{
	waitUntil {sleep 0.1; _uav = getConnectedUAV player; !isNull _uav};

	// ignore remote designators
	if !(_uav isKindOf "StaticWeapon") then
	{
		_ownerUID = _uav getVariable ["ownerUID", ""];

		if (_ownerUID == "") exitWith {}; // UAV not owned by anyone
		if (getPlayerUID player == _ownerUID) exitWith {};
		if (_perm == "group" && {{getPlayerUID _x == _ownerUID} count units player > 0}) exitWith {};

		player connectTerminalToUAV objNull;
		playSound "FD_CP_Not_Clear_F";
		["You are not allowed to connect to this unmanned vehicle.", 5] call mf_notify_client;
	};

	waitUntil {sleep 0.1; _uav != getConnectedUAV player};
};

 

Edited by Timber

Share this post


Link to post
Share on other sites
Advertisement

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 account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.