Spawn units with script

4 posts in this topic

I have a problem which really drive my nuts.
I spawn a weapon box with a script at a random position. Works fine.
I want 4 units spawn next to it.
For that I placed them in Eden Editor, converted the data to M3Editor and used Silent Map Converter to get the code I need:

First I tried one group with 4 units and ended up with 4 groups and each 1 unit in it...however...

The issue now is....all 4 units spawn in, but only 1 will stay alive. All others die instantly!
The script is packed in a PBO, the same for packing additional map content.
I also tried to call it from the init.sqf with the same result.

Why the hell are the 3 units dying ??
Maybe there is a better solution for spawning AI with a script?
Played around with BIS_fnc_spawnGroup, but wasn't able to get this working.

About Exile Arma 3 Mod

It is the year 2039. After the resource depleting conflict in Greece, Europe suffers from a new deflation crisis, leading the crime rate to a new peak in history. Members of the North Atlantic Treaty Organization Security Council are forced to react. Being a desperate alternative to overcrowded and prohibitive prisons, offenders are now being sent to EXILE.