Spawn a Custom Squad that will Patrol an Area You Specify!

Subscribers:
2,140
Published on ● Video Link: https://www.youtube.com/watch?v=jqUsTF4A-LU



Game:
Spawn (1999)
Duration: 14:42
340 views
34


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


2024-04-07Track Soldiers and Vehicles From any Faction in Your Scenarios with this Script!
2024-03-31Spawn Your Custom Squad from Any Faction, Genre, or Mod that will Patrol using RYD_PT Script!
2024-03-24Spawn Patrols of Planes, Helicopters, Tanks, Vehicles, & Infantry in Your Scenario with this Script!
2024-03-17Use this Script in Your Scenario and a Fighter Jet or Attack Helicopter will Come to Your Aid!
2024-03-13Aces of the Sky - (Arma 3 Scenario)
2024-03-10Use this Script to have AI Patrol inside Houses & Buildings!
2024-03-08Sniper Supported Squad Tries to Make it back to Base through Enemy Lines! - (WW2 Co-op)
2024-03-03Ju87 Cannon-Bird Combat Highlights Reel - (WW2 Co-op)
2024-02-25Spawn Vehicles that will Patrol any Area You Specify!
2024-02-18Command AI Artillery to Provide You with Fire Support!
2024-02-11Spawn a Custom Squad that will Patrol an Area You Specify!
2024-02-04This Dynamic Counter Tracks all the Enemy Units Remaining in your Scenario - SP & MP!
2024-01-28Create a Replayable Terrorist Hunt Style mission Anywhere & on any Map!
2024-01-21Create Objectives using Markers with Alive check!
2024-01-14Create New Tasks when You Pickup Intel!
2024-01-07Use these 3 Scripts to add more functions to Your Scenarios!
2023-12-31Start Your Scenario at a Random Helicopter Crash Site with this Script!
2023-12-2410 Tips that will Save You Time in the Eden Editor
2023-12-21Using this code will allow You can Choose where You want to Spawn!
2023-12-17Respawn with YOUR Custom Loadout for Single and Multiple Players!
2023-12-14Respawn on AI, Objects, Players, & Vehicles with this Code!



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.