• 0
Sign in to follow this  

[Solved]Exad spawn distance HELP


Please how to change distance for deploy mozzie? thanks

// 2016 (c) 0x2AFF (exceptionptr)
// https://github.com/0x2aff/XM8CustomDeployBike

if (isServer) then
    "do_CreateAir" addPublicVariableEventHandler
        private ["_parameters","_position","_vehicleArray","_rVehIndex","_vehicle","_spawnDir","_veh"];
        _parameters = _this select 1;
        _position = _parameters select 1;
        _spawnDir = (_parameters select 2) - 90; //not sure what the point is of turning it sideways is, take out - 90 if you don't want it
        _vehicleArray = ["C_Mozzie"];
        _rVehIndex = floor (random (count _vehicleArray));
        _vehicle = _vehicleArray select _rVehIndex;
        _veh = createVehicle[_vehicle, [0,0,0], [], 0, "CAN_COLLIDE"];
        _veh setposATL _position;
        _veh setDir _spawnDir;


Edited by NeverAgain

Share this post

Link to post
Share on other sites

3 answers to this question

  • 0
6 hours ago, Beowulfv said:


createVehicle[_vehicle, [0,0,0]

the corresponding 0s should be X,Y,Z settings.

Thanks but not work... maybe somewhere in exad...

Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.