Spawn a Custom Squad that will Patrol an Area You Specify!
This video will be showing you how you can spawn a custom infantry
squad, that will patrol an area you define. No scripts required, all using
default game functions.
It will also show you how you can create zones that will spawn patrols,
you can do this with a radio trigger, or with an area trigger.
==========
The code:
_squad1 = [getmarkerpos "spawn1", resistance,
["",""]] call BIS_fnc_SpawnGroup;
[_squad1, getMarkerPos "spawn1", 150] call BIS_fnc_TaskPatrol;
hint "The enemy squad has been spawned!";
Best to type in the code, and not copy, if you copy there might be
a chance of acquiring hidden characters then the code wont work.
=============
Note: The 150 in the code is a distance in radius which means the patrol
will move to about 150 meters from the center of the marker, so you can increase
that number or reduce it.
===================
Timestamps
0:00 Introduction
1:13 Code to spawn a custom squad that will patrol
3:35 Code review
4:50 Place marker and log classnames of infantry squad
6:00 Add classnames to the code
7:00 Add code to the trigger
7:20 Spawn an enemy squad
9:35 Spawn enemy squad when the player enters the trigger
11:35 Spawn an enemy squad when player enters a zone
13:30 Marker Transparency
Music used in the video:
--------------------------------------
- ES_Driftin' by Cushy
- ES_Subtract by Lofive
- ES_Trust the Process by Ballpoint
- Digifunk by DivKid
Codes & Scripts Playlist
https://www.youtube.com/playlist?list=PLUsyty1OYgb17O63BwUZRBgQqonrBVOD-
Arma 3 Tutorials Playlist
https://www.youtube.com/playlist?list=PLUsyty1OYgb0CTC62sCyddDSU3pI6rGO_
Arma 3 Code Snippets Playlist
https://www.youtube.com/playlist?list=PLUsyty1OYgb1QejvlCOJXRzci1uvlyjVV
Other Videos By Gunter Severloh
Other Statistics
Spawn Statistics For Gunter Severloh
Currently, Gunter Severloh has 999 views for Spawn across 2 videos. His channel published less than an hour of Spawn content, making up less than 0.39% of the total overall content on Gunter Severloh's YouTube channel.