Author: Grenadier
Author Website:

Requirements: No addons required

Version: 1.2.1

Short description: Small script similar to the randomSpawnTown. This creates small patrol units in non-strategic areas.

Support the author:
PayPal Donate
100% of your donation goes directly to the author of this content!
Date: 2018-04-05 09:28

Comments: (1)





- Works in singleplayer and multiplayer.
- Decide the number of activation cycles
- decide if it is necessary to generate units even in buildings
- decide whether to generate only units or even vehicles.
- Activation radius and consequent spawning
- Works both with vanilla patrol and with CBA patrol. The script identifies if the CBA mod is present and uses the relative code.

For the vehicle;

- Choose vehicles to randomly spawn with radius [minimum, medium, maximum]
- make them static or patrol (always random)
- choose the patrol radius [minimum, medium, maximum]
- when the vehicle is spawned, the patrol radius is automatically modified

for walking units;

- choose random spawning units with radius [minimum, medium, maximum]
- make them static, dynamic (patrolling) or in buildings
- choose the patrol [minimum, medium, maximum]
- decide which configuration the units should have

the units spawn only if the player is within the preset range
no limit and FPS guaranteed!!!

Installation / Usage:
video tutorial: Tutorial

put script into the mission folder
put a logical unit on the map
put in the logical unit the code; null=[this,1,false,true,[75,100,150],500] execVM "RandomSpawnAIx.sqf";

Meaning [this, cycle, unit_building, vehicle, Radius_Patrol, Radius_activation] execVM "RandomSpawnTown.sqf";

cycle = ciclo di attivazione script - cycle optimization script
unit_building = activates and deactivates (true / false) the positioning of units in buildings
vehicle = true spawn vehicle
Radius_Patrol = Min-med-max random patrol radius
Radius_activation = Minimum distance at which the spawning is activated

Media: has its own Youtube channel where we will cover the Community made releases.
Subscribe to the Youtube channel

Bug fix


Forum topic:
- Armaholic forums

Enable javascript to be able to download from Armaholic please!

Tags: Script,   Spawn,   Artificial Intelligence,   Ai,   Random