OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Trash Can Man on 21 Sep 2005, 05:32:49
-
I need to make a trigger for when all the Zombies are killed. I tried using east at first, but the mission ended as soon as it loaded. Any ideas?
The Zombie groups are in "East", but they are actually civilians. Also, If a general trigger can't be done, maybe a specific trigger perhaps?
Trash Can Man
-
Havent you answered it yourself - civilians? That should be possible to set a trigger to civilians, unless I have missed something in all those years.
-
you don't understand. They are civilian zombies, but they are located in groups by pressing -East- Zombies. That's what is so troubling.
Trash Can Man
-
are they in a group? if they are then you can syncrhonise them with the trigger. if they aren't, then use:
zombie in thislist OR zombie2 in thislist OR zombie3 in thislist
as the condition for the trigger. (obviously change the name of your zombie etc).
-
are they in a group? if they are then you can syncrhonise them with the trigger. if they aren't, then use:
zombie in thislist OR zombie2 in thislist OR zombie3 in thislist
as the condition for the trigger. (obviously change the name of your zombie etc).
what goes in the condition field if they are a group of Zombies?
-
I need to make a trigger for when all the Zombies are killed. I tried using east at first, but the mission ended as soon as it loaded. Any ideas?
The Zombie groups are in "East", but they are actually civilians. Also, If a general trigger can't be done, maybe a specific trigger perhaps?
Trash Can Man
Did you set the trigger to "Not Present" rather than the default "Present" setting?
-
what goes in the condition field if they are a group of Zombies?
if its simply one group, then group (F2) the group leader with the trigger. this will give options in the activation drop down menu. choose "Any Group Member" and then whenever a zombie from that group hits the trigger it will activate. the condition field should read simply "this" like any ordinary trigger would. of course, if you've got more than one zombie group then its best to use the other way.
-
Did you set the trigger to "Not Present" rather than the default "Present" setting?
Yes I did that but still didn't end :(
-
if its simply one group, then group (F2) the group leader with the trigger. this will give options in the activation drop down menu. choose "Any Group Member" and then whenever a zombie from that group hits the trigger it will activate. the condition field should read simply "this" like any ordinary trigger would. of course, if you've got more than one zombie group then its best to use the other way.
I'm sorry.... I still don't quite follow what you are saying. ??? this is how my mission is:
a group of american soldiers are trapped in a military compound and there are at least 12 groups of Zombies scattered throughout the area.
What I would like to see is when the furthermost group is dead, the mission will end.
-
right, gotcha - i was on the wrong track
!alive group lastzombieleader
this will, i think, check if the last zombie group is alive if you put it in the condition field of the end trigger. the name "lastzombieleader" refers to the name of the leader of the last zombie group. im not sure if the group command works with the alive command but give it a go.
-
do I need to name the zombie leader in order for this to work?
nevermind, It doesn't work. Maybe, in order for it to end it might have to be scripted. I have no idea. ??? ???
-
Ok, here is what you do.
1. Create a trigger, set the size to x 5000 y 5000
2. Select Groups (F2) and group the trigger to any member of the zombie group
3. Double click the trigger and set it to Any Group Member Not Present
4. Select the end type you want.
Now the mission will end when that group is killed
-Student Pilot
-
Ok, here is what you do.
1. Create a trigger, set the size to x 5000 y 5000
2. Select Groups (F2) and group the trigger to any member of the zombie group
3. Double click the trigger and set it to Any Group Member Not Present
4. Select the end type you want.
Now the mission will end when that group is killed
-Student Pilot
how exactly do you "group" a trigger to a group of zombies? explain please.
I tried to synchronize them but it doesn't work like that.
-
how exactly do you "group" a trigger to a group of zombies?
Hmmmmmm.......the same way you would group a unit to a group (F2). ;D
Planck
-
ok, I think I might have found the problem. I noticed when I read the cpp file, the creator used east, west, civilian. BUT. it appears that that they are all the same. Weird. I want to post that file here but it seemed HUGE to me. So, I guess there is no way to make a mission with zombies. I've emailed the person who created this mod and got no response. :( I was hoping that since you guys haved been so helpful in the past, you might come up with a solution.
Trash Can Man
-
Hmmmmmm.......the same way you would group a unit to a group (F2). ;D
Planck
pressing F2 to group soldiers to a trigger?
-
how exactly do you "group" a trigger to a group of zombies? explain please.
I tried to synchronize them but it doesn't work like that.
IT WORKS!!!!!!!!!!! THANK YOU PILOT!!!!!