OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma3 - Editing/Scripting General => Topic started by: B2KDragon on 13 Mar 2013, 23:59:34

Title: Ai Respawn after all dead and team leaves area.
Post by: B2KDragon on 13 Mar 2013, 23:59:34
Title might be a tad confusing, I am here to explain!

Creating a basic training mission, using UPS as a base for the Ai to work with. Now! The idea I have is simple, get your team, work on a way to take down the Ai and then leave. When you leave, the Ai will respawn and all scripts will bolt back in to work allowing you to go again when you are ready.

So quick summary.


This'll allow for a dynamic training mission, as UPS will mean the Ai will be in different locations/terrain/etc and means that they must be dynamic with their fighting in order to beat the Ai. Especially on a harder difficulty.

Clearly, I should search first and shall do so now. But I feel this might be a bit more of a unique questions, so I felt it fit to ask as well. Hopefully I can get some help, because I have no idea where to begin here.

Thanks!
Title: Re: Ai Respawn after all dead and team leaves area.
Post by: savedbygrace on 14 Mar 2013, 02:10:36
Just use the marker areas that are required by UPS to respawn units to them.

One trigger to cover the AO, that detects opfor absence.
A trigger to detect when the player(s) have returned to the start point(s)
A spawn script which places groups back in their respective areas and executes UPS.