Jump to content
M1ke_SK

V-X44 BlackFish - moveInGunner to second gunner seat

Recommended Posts

Have V-X44 from apex "B_T_VTOL_01_armed_F" named "blackFish". I want to move player to gunner seat. If 1st gunner seat is occupied, then move to gunner seat 2. If vehicle is full, show hint.

 

Here what I got so far:

if (isnull (gunner blackFish)) then 
{
    player moveInGunner blackFish;
}
else 
{
    hint "gunner is occupied";
};

Can't figure out, how to move to second gunner seat.

Share this post


Link to post
Share on other sites

you have to use these, I think (maybe there's some simpler way like BIS_function or something...

 

https://community.bistudio.com/wiki/allTurrets

https://community.bistudio.com/wiki/moveInTurret

if(blackFish turretUnit [1] != objNull) then 
{
    player assignAsTurret [blackFish, [1]];
    player moveInTurret [blackFish, [1]];
}
else 
{
    hint "gunner #1 is occupied";
};

But when I am at blackFish and flying I can't switch seats

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×