AI vehicle respawn and patrols an area using Kronzky's UPS script

 JULY 2009 - norrin

Kronzky's fabulous UPS script is available here: http://kronzky.info/ups/index.htm

To implement:

1. Copy Kronzky's UPS script and the AIvcl_respawn_UPS folder to your mission directory
2. Create a manned AI vehicle that will respawn in the editor
3. in the init line of the vehicle put:

nul = [this, 3, 10, "WS1","WM1"] execVM "AIvcl_respawn_UPS\AIvcl_respawn_UPS_init.sqf"; 

where:

3 - is the number of times you want the AI unit to respawn;
10 - is the delay in seconds after the unit dies that you want it to respawn in
"WS1" - is the marker postion where you want the AI units to respawn
"WM1" - is the name of the marker that the units will patrol using Kronzky's UPs script.

[b]Note[/b] 
* Each respawning AI vehicle needs to have the above code put in its init line. 
* The respawning AI vehicles are created as the same type and their skill is set to the same level as set in the editor 


Also in the test mission the player is setCaptive true so the enemy units will not shoot him.