OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Murphy on 13 Jun 2004, 20:20:50
-
Here is what I am trying to do...
I want to have enemy AI respawn after they are all killed and have them resume the attack.
The logic is:
The enemy keep coming until you complete the objective.
Can anyone help?
-
you could use this script:
http://www.ofpec.com/editors/browse.php?browseon=&browsewhat=-1&catselected=-1_-1&catagory=-1&subcategory=-1_-1&numreturn=25&displayformat=0&ofpv=1&searchwhat=1&searchlevel=0&searchwhat=1&searchopts=&searchstring=spawnmanager&x=0&y=0 (http://www.ofpec.com/editors/browse.php?browseon=&browsewhat=-1&catselected=-1_-1&catagory=-1&subcategory=-1_-1&numreturn=25&displayformat=0&ofpv=1&searchwhat=1&searchlevel=0&searchwhat=1&searchopts=&searchstring=spawnmanager&x=0&y=0)
Spawnman2 spawns enemies from a "base" (could be about everything) untill the base is destroyed (which you could easily do with a trigger (base setdamage 1).
Gl