IRONFRONT FANS FORUM
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
Haz

Sergeant
Registered:
Posts: 89
Reply with quote  #1 
AI Spawn Script for Iron Front
Version 0.3
by SPUn aka LostVar and Dirty Haz

Usage:
Call from a unit, trigger, game logic, script or init.sqf !
nul = ["Marker Name", Side, Spawn Troops, Spawn Vehicles, Troop Amount, Vehicle Amount, Spawn Radius, Patrol, Init] execVM "militarize.sqf";

nul = ["Spawn", 1, TRUE, TRUE, 12, 6, 125, FALSE, "groupalpha = group this;"] execVM "militarize.sqf";

Parameter 1 (0) - Must be a marker, remember to use quotes too! For the next version I will make it so that it can be either a marker or game logic.
Parameter 2 (1) - 1 = WEST. 2 = EAST. For the next version I will include a third side (3) which will be the Allies DLC however it will be optional.
Parameter 3 (2) - "TRUE" or "FALSE" but without the quotes! Maybe for the next version I will add a random option.
Parameter 4 (3) - "TRUE" or "FALSE" but without the quotes! Maybe for the next version I will add a random option.
Parameter 5 (4) - Number of troops to spawn.
Parameter 6 (5) - Number of vehicles to spawn.
Parameter 7 (6) - The spawn radius for troops and vehicles! For the next version I will add a parameter for the patrol radius.
Parameter 8 (7) - "TRUE" or "FALSE" but without the quotes! If set to TRUE, troops and vehicles won't patrol at all.
Parameter 9 (8) - "" or "init code..."


Mirror 1: Download HERE - My (Dirty Haz) FTP. Version 0.3!
Mirror 2: Download HERE - Mission Repository. Version 0.3!

Dirty Haz
0
Gunter Severloh

Avatar / Picture

Admin
Registered:
Posts: 2,748
Reply with quote  #2 
Now hosted on the MR:
AI Spawn Script for Iron Front v.02

1st post has been updated with an added download link.

__________________
0
Haz

Sergeant
Registered:
Posts: 89
Reply with quote  #3 
Thanks Gunter Severloh, much appreciated.

Dirty Haz
0
Haz

Sergeant
Registered:
Posts: 89
Reply with quote  #4 
Version 0.3 - Added init code support... First post updated!

Dirty Haz
0
Gunter Severloh

Avatar / Picture

Admin
Registered:
Posts: 2,748
Reply with quote  #5 
Dirty Haz thanks for letting me know about the update, now updated on the MR:
http://www.missionrepository.com/IF-Scripts/AI%20Spawn%20Script%20v.03.7z

__________________
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.