Jump to content
  • 0

Possible minor bug


Nibbs

Question

5 answers to this question

Recommended Posts

  • 0

Guess what, i was fed up with homework again.

A fix i found for this is:

 

Right now this is in the rearmuav.sqf

if (!(_veh isKindOf "B_UAV_02_CAS_F")) exitWith { 
    _veh vehicleChat "This pad is for UAV service only, soldier!"; };

 

Change it by this:

if (!(_veh isKindOf "B_UAV_02_CAS_F") || !(_veh isKindOf "B_T_UAV_03_F    ")) exitWith { 
    _veh vehicleChat "This pad is for UAV service only, soldier!"; };

and it should work.  (Note: haven't tested it yet.  But i'm pretty sure that it'll work just fine)

 

Alright, homework it is again. (Oh yea, just an idea of mine.  It is of course up to whoever it's up to whether or not and how to fix this)

Link to comment
Share on other sites

  • 0
6 hours ago, Ryko said:

Or:

 

if !(typeOf _veh IN ["B_UAV_02_CAS_F", "B_T_UAV_03_F"]) exitWith { 
    _veh vehicleChat "This pad is for UAV service only, soldier!"; };

 

... and you can continue adding UAV classes to the array.

That's a better way yes.  Why didn't I think of that? :)

Link to comment
Share on other sites

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
  • Forum Statistics

    11.1k
    Total Topics
    66.4k
    Total Posts
×
×
  • Create New...