Jump to content
  • 0

Airbus napf


Blerp

Question

Hello .

I was busy with an airbus for napf , one chopper that fly's between  awols and heroe trader at airfield .

At first nothing happend no spawn nothing , thanks to the tips i  got from there things are moving in the right direction :)

but its dayz epoch so not without a struggle mostly with some things .

So now my airbus spawns  fly between the 2 points  but as soon i step in that mv22 it blows up   LOL 

I just added some basic waypoints to see if those worked well like the cycle waypoint , i wanna change that later and set a timer at some waypoints and tweak that a bit .

So it would be nice if i was able to get in , or a other player ..

Here is what i have got so far ..

////////////////////////////////////script//////////////////////////////////////////

SetAccTime 0.0;
if (isServer) then {

_this = createCenter civilian;
_center_0 = _this;
_this setFriend [west, 1];
_this setFriend [east, 1];
_group_0 = createGroup _center_0;

_vehicle_1 = objNull;
if (true) then
{
  _this = createVehicle ["MV22", [15123.691, 16380.917, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_1 = _this;
  _this setVehicleLock "UNLOCKED";
  _this setPos [15123.691, 16380.917, 1.9073486e-006];
};

_unit_0 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["Pilot_EP1", [15117.501, 16391.523], [], 0, "CAN_COLLIDE"];
  _unit_0 = _this;
  _this setDir -4.1849737;
  _this setVehicleInit "This moveInDriver ab";
  _this setUnitRank "COLONEL";
  _this setUnitAbility 1;
  _this moveInDriver _vehicle_1;
  if (true) then {_group_0 selectLeader _this;};
};

_vehicle_2 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Heli_H_civil", [15125.008, 16382.387, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_2 = _this;
  _this setPos [15125.008, 16382.387, -3.8146973e-006];
};


_this = _group_0 addWaypoint [[15132.827, 16379.379], 0];
_this setWaypointCombatMode "BLUE";
_this setWaypointSpeed "FULL";
_this setWaypointBehaviour "SAFE";
_waypoint_0 = _this;

_this = _group_0 addWaypoint [[5139.9072, 4828.5054], 0];
_this setWaypointType "GETOUT";
_this setWaypointCombatMode "BLUE";
_this setWaypointSpeed "FULL";
_this setWaypointBehaviour "SAFE";
_waypoint_1 = _this;

_this = _group_0 addWaypoint [[5102.2231, 4847.7114], 0];
_this setWaypointCombatMode "BLUE";
_this setWaypointSpeed "NORMAL";
_this setWaypointBehaviour "SAFE";
_waypoint_2 = _this;

_this = _group_0 addWaypoint [[5139.9209, 4828.5313], 0];
_this setWaypointType "GETIN";
_waypoint_3 = _this;

_this = _group_0 addWaypoint [[15161.271, 16339.514, 0], 0];
_waypoint_4 = _this;

_this = _group_0 addWaypoint [[15141.047, 16387.672, 0], 0];
_this setWaypointType "GETOUT";
_waypoint_5 = _this;

_this = _group_0 addWaypoint [[15116.04, 16413.898], 0];
_waypoint_6 = _this;

_this = _group_0 addWaypoint [[15132.768, 16379.325], 0];
_this setWaypointType "GETIN";
_this setWaypointSpeed "NORMAL";
_this setWaypointBehaviour "SAFE";
_waypoint_7 = _this;

_this = _group_0 addWaypoint [[5140.0605, 4828.1602], 0];
_this setWaypointType "CYCLE";
_this synchronizeWaypoint [_waypoint_1];
_waypoint_8 = _this;

};
ProcessInitcommands ;
SetAccTime 1

 

////////////////////////////////////////////////////////////////////end script//////////////////////////////////////////////////

I hope its something simple again  :)  any suggestion ? everything works ok untill i get in the mv22

Kind regards .

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hi,

Ok iam able to enter the mv22 without problems .... but  .. the mv22  is deleted when it lands at the traders  sometimes even before it lands when i was in  . at some point the mv22 was gone and i was in air dying with the pilot ..

Any suggestions ?

 

Link to comment
Share on other sites

  • 0

I added a bus and tried the same everything works great in the editor but ingame the bus also despawn after some time ..

The driver go's on foot like the pilot from the mv22  at first i thought that the mv22 was kind of bugged but the bus also had the same problem.

anyone has any tips ?

 

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
  • Advertisement
  • Discord

×
×
  • Create New...