Home   Help Search Login Register  

Author Topic: Trigger/All Dead  (Read 1175 times)

0 Members and 1 Guest are viewing this topic.

GrimMonkey

  • Guest
Trigger/All Dead
« on: 21 Aug 2003, 03:03:25 »
Hello everybody out there! :)

Do any of you know how to set a trigger to activate when all, a certain amout, or a specific single enemy(s) is/are killed? ???

Much appreciated :P




Monkeys are the omnipotent species 8).

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Trigger/All Dead
« Reply #1 on: 21 Aug 2003, 03:37:28 »
Grim, i really recommend now that you have
a look into one of the OFP editing tutorials,
as you are now on a stage, where there will
follow a whole lotta more questions like that.

Now everytime you getting answers to your
questions, there will be popping up a few more
questions upon these answers, because you
will need an overview about the whole thing
to understand the little things.

For example: your actual questions can be answered
in (at least) 20 different ways, and 19 of them would
just let you become more confused than before  ;)

I do not mean any offence here, but once you
go through such a tutorial, you will understand
what i mean.

Just have a look at here:

http://www.ofpec.com/editors/browse.php?category=1_1


We all had to start from scratch by reading tutorials,
asking questions or looking through several forum threads,
just to switch over to ofp editor and try it out.


Again i say: no offence to you, and i always want to help
somebody on the forum, but in this case it's really better
you go for the tutorial.

It could happen easily that a mod is entering the scene
and says: "question has been asked tousand times,
use the forum search option - topic locked"  ;)

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

GrimMonkey

  • Guest
Re:Trigger/All Dead
« Reply #2 on: 21 Aug 2003, 05:04:13 »
I feel like an idiot, but which one? I can't read Dutch if that's the one you were talking about.





Bow to the Monkey!

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Trigger/All Dead
« Reply #3 on: 21 Aug 2003, 05:17:44 »
lol - what about all others, where you do not see (DUTCH)
beside  ;)

Or better, what about: "getting started"
and then climb up the ladder of tute's

Another hint:

There's even a small tutorial been commin with the
game, where you can also learn very basic steps, including
the answer to your question here.

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

GrimMonkey

  • Guest
Re:Trigger/All Dead
« Reply #4 on: 21 Aug 2003, 06:10:03 »
How do I access it? :P

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Trigger/All Dead
« Reply #5 on: 21 Aug 2003, 07:14:30 »
Quote
How do I access it?

usually you open the readme file by dbl-clicking it,

but in some cases you may right-click it followed
by left-clicking onto "open"


Did i already mention that the information is inside
the readme file in your operation flashpoint folder?

 ;)

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

GrimMonkey

  • Guest
Re:Trigger/All Dead
« Reply #6 on: 21 Aug 2003, 07:20:13 »
I apologize, I didn't write what I meant to say. But you still answered it. I know how to access it, I just didn't know where. :P I'm such an idiot (It's shameful but my friends can vouch for me on this :)).

GrimMonkey

  • Guest
Re:Trigger/All Dead
« Reply #7 on: 22 Aug 2003, 21:06:01 »
Does anybody know a script that will activate a trigger after all enemies have died? I know how to write a script for a single to die but not a large group. This is essentail information!

Please oblige.

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Trigger/All Dead
« Reply #8 on: 22 Aug 2003, 21:45:55 »
Well,

There are more ways to do that:

"alive _x" count array == 0

might be the most efficient


while array represents an array of units

may it be a units group or a list trigger or
an handmade array [unit1,unit2,unit3,unit4]

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

GrimMonkey

  • Guest
Re:Trigger/All Dead
« Reply #9 on: 22 Aug 2003, 22:19:10 »
Explain the syntaxs please.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Trigger/All Dead
« Reply #10 on: 22 Aug 2003, 22:41:28 »
Read up on the commands

alive
count
==

Are you familiar with the concept of an array in OFP?

We'll be more than happy to explain it all, it's just easier if we know what you do and don't understand first. ;)
Plenty of reviewed ArmA missions for you to play

GrimMonkey

  • Guest
Re:Trigger/All Dead
« Reply #11 on: 22 Aug 2003, 23:37:34 »
I'll put it this way, I've NEVER heard of an array. :P

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Trigger/All Dead
« Reply #12 on: 22 Aug 2003, 23:45:57 »
2 quotes by GrimMonkey

Quote
Explain the syntaxs please.

Quote
I'll put it this way, I've NEVER heard of an array.


quote by Chris Death taken from his first reply to this thread

Quote
Now everytime you getting answers to your
questions, there will be popping up a few more
questions upon these answers, because you
will need an overview about the whole thing
to understand the little things.

can you see know what i meant Grim?

~S~ CD
« Last Edit: 22 Aug 2003, 23:46:18 by Chris Death »
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

GrimMonkey

  • Guest
Re:Trigger/All Dead
« Reply #13 on: 22 Aug 2003, 23:57:25 »
This'll make me look like an idiot, but I don't know what you mean.

Maybe I shoudn't have asked today, I'm a little busy and my school's going to start soon, I won't be able to work on my OFP projects for a while :'(. I have a lot going on in my head (besides the voices I hear ;)), and I don't have the time to read every detail or check reguarly in the forum.

But, within two weeks, my time in this forum will have withered to a trickle :'(.

No offense, of course :)
I apologize for wasting yours, Chris's, and Macguba's time in this thread :)

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Trigger/All Dead
« Reply #14 on: 23 Aug 2003, 00:46:58 »
Don't worry GrimMonkey, you're not wasting anybody's time.    All Chris Death is saying is that one question leads to another, and another, and another ..... and you end up trying to run before you can walk, which is silly because the answers to ALL of these questions are in the Editors Depot.    

The fastest way for you to learn is to study tutorials.     The forum is there to help you when the tutorials - and the FAQ, which is also excellent - don't cover what you need to know.

You are very lucky having tutorials - when I started OFP editing there were only a handful in existence.    I learnt from these few, from experimenting, from un-pboing other people's missions (including official ones) and from reading the official and unofficial command references.   Being a bit slow on the uptake, I didn't even discover the forums until my first proper mission was almost finished.

In this thread you have asked a legitimate question, and Chris Death has given you an excellent answer.      If you've never heard of an array, I suggest you start with a dictionary.   There is also a little section in the unofficial command reference.  The forum is not a substitute for your own research:   it is a refuge for when research fails. ;)




Note to the world:     EVERYBODY should read the sticky topic "How to find the answer to your question" at the top of this Board AND follow it's advice before posting a question.



« Last Edit: 23 Aug 2003, 00:51:38 by macguba »
Plenty of reviewed ArmA missions for you to play