Home   Help Search Login Register  

Author Topic: A dead group and a trigger  (Read 484 times)

0 Members and 1 Guest are viewing this topic.

Offline Dandy

  • Members
  • *
  • my teatcher say that there is 80% water in water
A dead group and a trigger
« on: 26 May 2003, 13:58:07 »
Hi you all :D

IÂ'm a litle bit deprest. When I had answerd a question that more thene six people had tryed to answer, and I was the guy that got the right solution to the problem. :-\ And people stops wrighting hints to the topic (not locked). And The guy didnÂ't even give me a smili face or any kind of thanks. :'(

People shuld learn to be more thankfull for the answers they get, evev if it donÂ't work.

On to my problem.

I was seching the faq for a solution to my problem, how to gat a trigger to be activated by a condition like this:

not alive group

and in the init of the group leader i typed in: a = group this

I did find some thing when i serched for group. But when i typed on the link:
...view item for full description

nothing happond,  :-\ so that leaves me here with the same problem, how to get a dead group to activate a trigger by condition.

thanks in advance!  :D
« Last Edit: 26 May 2003, 13:59:25 by Dandy »
Is there a question about monkeys? okay I gues not!

Komuna

  • Guest
Re:A dead group and a trigger
« Reply #1 on: 26 May 2003, 15:21:17 »
Hmm... I'm bit rusty, so, don't trust me! [it rimed! ;D]

CondField: "alive _x" count units Mygroup == 0

It checks if 'alive' units from your group have become 0! If so, it means your group is dead... ;)

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:A dead group and a trigger
« Reply #2 on: 26 May 2003, 16:23:19 »
Dandy it's not just you ... a lot of people far too many people don't say thanks.     You just have to live with it and find helping somebody it's own reward.   Whatever happens, please don't let it put you off answering questions.

Now, to answer the question, Komuna is basically right.  However, you don't need the _x bit, just write

count units grpName == 0

in the condition field of the trigger.
Plenty of reviewed ArmA missions for you to play

Offline Dandy

  • Members
  • *
  • my teatcher say that there is 80% water in water
Re:A dead group and a trigger
« Reply #3 on: 26 May 2003, 22:44:41 »
thanks you guys :D

It workt perfect :)

And donÂ't worry, I will still help people with their questions even if they donÂ't give me a smiley face.  ;D
« Last Edit: 26 May 2003, 22:45:47 by Dandy »
Is there a question about monkeys? okay I gues not!