OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: snafu on 27 Aug 2009, 20:08:00

Title: SP AI Spawn Script?
Post by: snafu on 27 Aug 2009, 20:08:00
Hi all

I am making a mission where East holds a village and the Resistance side holds a forest on the opposite end. Both the village and forest have 3 key positions which will be occupied by 3 squads of 10 men (3 squads for East and 3 for the Resistance).

These squads hold their positions and shoot each other. Once they die off I need another 10 man squad to be spawned to replace a killed off group.

The problem is I have no knowledge of scripting (my Achilles heel in mission editing) so does anybody know of a script like this or give me some help on trying to make this script?
Title: Re: SP AI Spawn Script?
Post by: bedges on 27 Aug 2009, 21:40:46
Aye min, there are a few tutorials on how to do this complete with demos in the Editors Depot (http://www.ofpec.com/ed_depot/index.php?action=details&id=267&game=ArmA). Try a search for 'spawn'.