Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0
Serenity

Ошибка wai помогите

Всем привет, у меня вылетает ошибка ботов wai в RPT
 

 

_box = createVehicle ["RUVehicleBox">
1:55:48 Error position: <*/

_box = createVehicle ["RUVehicleBox">
1:55:48 Error Invalid number in expression
1:55:48 File z\addons\dayz_server\WAI\missions\StaticAmmoBoxes.sqf, line 19
1:55:48 Error in expression <DE"];
[_box] call Extra_Large_Gun_Box;
 

 

Кто знает как ее исправить?
Извинити если есть такая тема то я ее не нашел.
За ранее спасибо.

Ошибка я так погимаю из за вызова бокса, только как исправить не знаю

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Всем привет, у меня вылетает ошибка ботов wai в RPT

 

 

_box = createVehicle ["RUVehicleBox">
1:55:48 Error position: <*/

_box = createVehicle ["RUVehicleBox">
1:55:48 Error Invalid number in expression
1:55:48 File z\addons\dayz_server\WAI\missions\StaticAmmoBoxes.sqf, line 19
1:55:48 Error in expression <DE"];
[_box] call Extra_Large_Gun_Box;
 

 

Кто знает как ее исправить?

Извинити если есть такая тема то я ее не нашел.

За ранее спасибо.

 

Ошибка я так погимаю из за вызова бокса, только как исправить не знаю

Все просто.

 

*/ комментирует пару строчек. И почему то там две закрывающие.

Последняя ничего не закрывает, вот и ругается.

 

В самом начале после /* пропусти строчку, чтобы текст перешел ниже строчкой.

На 14 строчке убери */

 

Должно получиться вот так:

/* 
Add ammmo boxes to static locations on map and fills it with loot from missionCfg.sqf

creates a ammo box at [0,0,0] then fills it

_box = createVehicle ["RUVehicleBox",[0,0,0], [], 0, "CAN_COLLIDE"];
[_box] call spawn_ammo_box;

creates a 2nd ammo box at [1,1,1] then fills it

_box2 = createVehicle ["RUVehicleBox",[1,1,1], [], 0, "CAN_COLLIDE"];
[_box2] call spawn_ammo_box;

add custom ammo boxes below this line

_box = createVehicle ["RUVehicleBox",[0,0,0], [], 0, "CAN_COLLIDE"];
[_box] call Extra_Large_Gun_Box;

*/
//NEW SECTOR
_box = createVehicle ["RUVehicleBox",[4831.2842,12611.358,0.0001373291], [], 0, "CAN_COLLIDE"];
[_box] call spawn_ammo_box;

_box2 = createVehicle ["RUVehicleBox",[4995.4277,12549.098,3.0517578e-005], [], 0, "CAN_COLLIDE"];
[_box2] call spawn_ammo_box;

_box3 = createVehicle ["RUVehicleBox",[4876.9639,12451.535,1.0297287], [], 0, "CAN_COLLIDE"];
[_box3] call spawn_ammo_box;

_box4 = createVehicle ["RUVehicleBox",[9982.2695, 13138.383, 0.00044250488], [], 0, "CAN_COLLIDE"];
[_box4] call spawn_ammo_box;

_box5 = createVehicle ["RUVehicleBox",[9853.6221, 13330.602, 0.00025939941], [], 0, "CAN_COLLIDE"];
[_box5] call spawn_ammo_box;

_box6 = createVehicle ["RUVehicleBox",[9611.2559, 13856.357, 0.00021362305], [], 0, "CAN_COLLIDE"];
[_box6] call spawn_ammo_box;

_box7 = createVehicle ["RUVehicleBox",[9468.4932, 12870.192, 7.6293945e-005], [], 0, "CAN_COLLIDE"];
[_box7] call spawn_ammo_box;
//NEW SECTOR END

Share this post


Link to post
Share on other sites










  • 0

Всем привет, у меня вылетает ошибка ботов wai в RPT

 

 

_box = createVehicle ["RUVehicleBox">
1:55:48 Error position: <*/

_box = createVehicle ["RUVehicleBox">
1:55:48 Error Invalid number in expression
1:55:48 File z\addons\dayz_server\WAI\missions\StaticAmmoBoxes.sqf, line 19
1:55:48 Error in expression <DE"];
[_box] call Extra_Large_Gun_Box;
 

 

Кто знает как ее исправить?

Извинити если есть такая тема то я ее не нашел.

За ранее спасибо.

 

Ошибка я так погимаю из за вызова бокса, только как исправить не знаю

Предупреждение

Оформление добавлено, Выдано Предупреждение!

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

  • Similar Content

    • By Akie
      Никак не могу разобраться как заставить ВАИ выводить миникарту при старте миссии, скрипт есть, просто как заставить его выводить её не могу понять, подскажите пожалуйста господа. Знаю что сообщения выводятся через mission_winorfail.sqf, но как оттуда сделать вызов вариабла сообщения я не знаю.
    • By Gromillla
      Доброго времени суток дамы и господа, и сразу к вопросу, в миссиях 2.2.5 версии, если боты "бандиты", то они скин игрока видят и реагируют на него, а если миссии с ботами "героями", то они скин игрока не видят. Скин  "RUS_Soldier_Marksman". Как соответственно решить эту проблему? Ошибок в РПТ нет.
    • By Шапокляк
      Как сделать чтоб Боты агрелись на Игрока с расстояния   1000-1500 метров. Темы вродибы есть но решений нет.
      ai_share_info = true; // AI share info on player position ai_share_distance = 2000; // distance from killed AI for AI to share your rough position ai_skill_extreme = [["aimingAccuracy",1.00],["aimingShake",1.00],["aimingSpeed",1.00],["endurance",1.00],["spotDistance",3.99],["spotTime",1.00],["courage",1.00],["reloadSpeed",1.00],["commanding",1.00],["general",1.00]]; // Extreme ai_skill_hard = [["aimingAccuracy",1.00],["aimingShake",1.00],["aimingSpeed",1.00],["endurance",1.00],["spotDistance",3.99],["spotTime",1.00],["courage",1.00],["reloadSpeed",1.00],["commanding",1.00],["general",1.00]]; // Hard менял все не помогает.!!!
    • By DIasTer
      кто нибудь встречался с этим? как исправить?
       
      19:54:45 File z\addons\dayz_server\WAI\compile\mission_winorfail.sqf, line 321
      19:54:46 Error in expression < ({[_x,_name] call fnc_inString;} count wai_clean_when_clear) != 0) then {

      _mi>
      19:54:46   Error position: <wai_clean_when_clear) != 0) then {

      _mi>
      19:54:46   Error Undefined variable in expression: wai_clean_when_clear
  • Our picks

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.