1 post in this topic

Hey guys, maybe one of you guys could help me?  im having issues adding aircraft to the ambient flyover coding. anyone able to help? heres the section ove edited, parts before and after are unchanged. thanks in advanced :D

_flyHeight = 125;
_speed = 210;
_direction = random 360;
_targetPosition = 
[
    (getPos _targetPlayer) select 0, 
    (getPos _targetPlayer) select 1, 
    _flyHeight
];
_distance = worldSize * 0.75;
_endPosition = 
[
    (_targetPosition select 0) - (sin _direction) * _distance,
    (_targetPosition select 1) - (cos _direction) * _distance,
    _flyHeight
];
_planeClass = selectRandom 
[
    "B_Plane_CAS_01_F",
    "O_Plane_CAS_02_F",
    "CUP_B_C130J_USMC",
    "CUP_B_C130J_USMC",
    "CUP_B_C130J_USMC",
    "I_Plane_Fighter_03_CAS_F"
];
for "_i" from 1 to (1 + (floor (random 6))) do 
{
    _distance = 4000 + (_i * 400);
    _startPosition = 

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.