i thought maybe i need to switch round the coords ect but even the example shows i#them in this format
Custom group spawns Eg.
[[953.237,4486.48,0.001], //position
4, //Number Of units
1, //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
"Random", //Primary gun set number. "Random" for random weapon set.
4, //Number of magazines
"", //Backpack "" for random or classname here.
"Bandit2_DZ", //Skin "" for random or classname here.
"Random" //Gearset number. "Random" for random gear set.
] call spawn_group;
RPT error
if (count Allowed>
15:24:33 Error Zero divisor
15:24:33 File z\addons\dayz_server\init\server_functions.sqf, line 266
15:24:33 "DEBUG: unable to find suitable vehicle to spawn"
15:24:34 Error in expression < _aigear select 0;
_geartools = _aigear select 1;
if (_skin == "") then {
_aiski>
15:24:34 Error position: <select 1;
if (_skin == "") then {
_aiski>
15:24:34 Error Zero divisor
15:24:34 File z\addons\dayz_server\WAI\compile\SpawnGroup.sqf, line 47
15:24:34 "WAI: Starting AI Missions Moniter"
15:24:35 Error in expression < _aigear select 0;
_geartools = _aigear select 1;
if (_skin == "") then {
_aiski>
15:24:35 Error position: <select 1;
if (_skin == "") then {
_aiski>
the line 47 which its referring to which i havnt touched
Question
carl101
hi guys, iv chucked a couple of custom spawns together and they dont seem to be working much.
out of all my groups i have 2 ai spawning with no guns protecting abig town
my custom spawns
[[436.955,510.628,0.210],4,1,"random",4,"","","random"] call spawn_group;
[[413.045,483.674,0.001],4,1,"random",4,"","","random"] call spawn_group;
[[428.886,349.484,0.001],4,1,"random",4,"","","random"] call spawn_group;
[[517.518,432.3,0.001],4,1,"random",4,"","","random"] call spawn_group;
[[529.322,373.941,0.001],4,1,"random",4,"","","random"] call spawn_group;
[[513.2,316.673,0.001],4,1,"random",4,"","","random"] call spawn_group;
[[454.341,276.217,0.001],4,1,"random",4,"","","random"] call spawn_group;
[[529.322,373.941,0.001],[0,0,0],250,"uh1h_dz",5,1,"random",4,"","","random",false] spawn heli_para;
i thought maybe i need to switch round the coords ect but even the example shows i#them in this format
Custom group spawns Eg.
[[953.237,4486.48,0.001], //position
4, //Number Of units
1, //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
"Random", //Primary gun set number. "Random" for random weapon set.
4, //Number of magazines
"", //Backpack "" for random or classname here.
"Bandit2_DZ", //Skin "" for random or classname here.
"Random" //Gearset number. "Random" for random gear set.
] call spawn_group;
RPT error
the line 47 which its referring to which i havnt touched
46. _gearmagazines = _aigear select 0;
47. _geartools = _aigear select 1;
48. if (_skin == "") then {
49. _aiskin = ai_skin call BIS_fnc_selectRandom;
50. } else {
51. _aiskin = _skin
any help is greatly apprecited
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now