Repository navigation
Infantry Spawner
Hypoxic edited this page Aug 24, 2025
·
3 revisions
Creates a spawner that spawns infantry classes provided by the user at regular intervals. Highly customizable.
isGlobal = 0;
isTriggerActivated = 1;
isDisposable = 0;
is3DEN = 1;
- Description:
The side that the spawned units belongs to. - Default:
OPFOR
- Description:
Array of unit classes fromCfgVehicles. To increase the chances of a particular class being spawned, add additional instances of that class to the array. - Default:
['O_Soldier_TL_F', 'O_Soldier_GL_F', 'O_Soldier_F', 'O_soldier_AR_F']
- Description:
Maximum amount of units this spawner creates. Will wait to spawn more if there are alive units greater than or equal to this value. - Accepts:
Integer - Default:
16
- Description:
Number of units to spawn per squad. - Accepts:
Integer - Default:
8
- Description:
Time until the module spawns additional units. - Default:
15
- Description:
Number of respawns the module will perform before shutting down. This is a total unit amount, not a respawn instance amount. - Default:
64
- Description:
Waits for the available unit limit to reach a point where a full squad can be spawned at once. Otherwise, it will continue to trickle in units as there are available slots. - Default:
True
- Description:
Logic that the units perform when spawning. UseNONEif you want to do your own scripting with the expression block below. - Default:
Patrol
- Description:
Code to execute on each group that is spawned. Passed arguments are:
<0: Group, 1: Waypoints> - Default:
True
- Trigger (Optional)
- Spawner Waypoint Module (MEH_ModuleSpawnerWaypoint) (Optional)

- Activation of the synched trigger spawns the first squad and starts the loop logic for additional spawns.
- Trigger does NOT deactivate the module. The module either deactivates itself when the tickets run out, or when an enemy unit comes within its deactivation radius.
- Ambient Artillery (Virtual)
- Anti-Troll
- Change Flag
- Clear Map Location Names
- Communication Jammer
- Create Map Location
- Create Minefield
- Create Paradrop Troop Transport
- Create Remote Target
- Delete Respawn Position
- Earthquake Damage Area
- Earthquake Epicenter
- Enable Disable Gun Lights
- Fade Screen
- Fire
- Flare Launcher
- Healing Area
- Infantry Spawner
- Intro Text
- Inventory Sync
- Lightning Storm
- Lightpoint
- Map Animation Add
- Map Animation Start
- Move On Combat
- Multiplayer Sync
- Paradrop Vehicle Crate
- Register Teleporter
- Smoke
- Speed Limiter
- Spawner Waypoint
- Trap Inventory
- Vehicle Fuel Coefficent
- Vehicle Mine Jammer
- Vehicle Rearm
- Vehicle Refuel
- Vehicle Repair
- Vehicle Service Station