Quote: "what about if i set all the entities to one objective number so i have to kill them in any order?"
Then you would only have to kill any ONE of them to advance.
If you don't want to kill them in order, then use a global variable (v109) to count your kills by incrementing it in the enemy destroy script.
Then check the number after incrementing it, and teleport the player to a WinZone if it equals your desired number of kills.
Here is an example...
;Artificial Intelligence Script by Conjured Entertainment
;This script requires v109 or higher
desc = eFrag Counter
;Triggers
:state=0:globalvar=6,state=1
:state=1:incvar=1,state=2
:state=2,vargreater=9:plrmoveto=Win Zone,state=4
:state=2,varless=10:state=3
:state=3:state=4,suspend,coloff
;End of Script
Just use this FPI script for your enemies' Destroy AI (all of the enemies) and place a Win Zone somewhere in your map.
You will also need 10 or more enemies to kill of course.
The easy way to set the scripts is to set the destroy script in one enemy, then place copies of him in the map.
This script is a usual 'leavecorpse' destroy script, but it also will counts the frag and teleports the player to the Win Zone with 10 frags.
You'll notice I use greater than 9 instead of equal to 10.
That is because I didn't want to get caught in an endless loop if it somehow skipped that condition while it equaled 10, or if another script incremented it to a value greater than 10.
Using less than and greater than is a better practice than using equals to for avoiding endless loops, or in this case; an endless level.
This also makes a good way to have certain characters as targets, since only the ones assigned this script will increment the count.
You could also easily create a renamed copy of this and then edit it to use global var 7 instead of 6.
Assign that to other characters and you can know count and punish them for cilvilian kills.
You would need to change the plrmoveto to something other than the WinZone, but an escapable jail cell would be appropriate.
I now have a use for global variables 6 & 7, thanks!
6) Enemy Frag Counter
7) Civilian Frag Counter
Have Fun!