This video will show you how to spawn a group in with a script using the Arma 3 Eden editor. This is useful if you want to spawn an enemy group during an ambush, or if you want a group to spawn in and act as reinforcements.
Resources:
[ Ссылка ] - Used to spawn in the group
[ Ссылка ] - Used to get the canister's position
[ Ссылка ] - Used to get the marker's position
[ Ссылка ] - Reference for all the sides in Arma 3
^ (You want to use the side under the "Commands" column to refer to it in script)
The script used to get the soldiers ID:
_ _ _ _ _ _ _ _ _ _ _ _
_vehiclesInArea = [];
{_vehiclesInArea pushBack typeOf _x} forEach (player nearEntities 25);
hint ("Added " + str(count _vehiclesInArea) + " objects to array.");
copyToClipboard str(_vehiclesInArea);
_ _ _ _ _ _ _ _ _ _ _ _
^ Put this in the "On Activation" box of a trigger, and call the trigger when you are close to the objects' IDs that you want to copy.
I recommend the trigger activation be "Radio Alpha."
This script does not work in multiplayer!
Ещё видео!