Home   Help Search Login Register  

Author Topic: Trigger Q  (Read 1874 times)

0 Members and 1 Guest are viewing this topic.

Komuna

  • Guest
Re:Trigger Q
« Reply #15 on: 26 Aug 2003, 17:57:15 »
("_x in thislist" count units Delta_A == "alive _x" count units Delta_A) &&
("_x in thislist" count units Delta_B == "alive _x" count units Delta_B) &&
("_x in thislist" count units Ranger_A == "alive _x" count units Ranger_A) &&
("_x in thislist" count units Ranger_B == "alive _x" count units Ranger_B)

That's it. I'll send you the bill through mail. ;)
« Last Edit: 26 Aug 2003, 17:57:48 by Komuna »

B-2-0

  • Guest
Re:Trigger Q
« Reply #16 on: 26 Aug 2003, 18:17:24 »
OMG....this just doesn't want to work...lol

In each of my group leaders init fields i have ......Ranger1 = group this etc.

Now i am getting the error

Ranger1 #= group this  Error, reserved variable in expresion
« Last Edit: 26 Aug 2003, 18:17:52 by B-2-0 »

Komuna

  • Guest
Re:Trigger Q
« Reply #17 on: 26 Aug 2003, 18:37:59 »
Don't you have 'Ranger1' associated with other unit, already?

B-2-0

  • Guest
Re:Trigger Q
« Reply #18 on: 26 Aug 2003, 18:46:17 »
Sorry, my mistake.....I have been editing for too long today i think

Ok, i have
Ranger_A = group this
Ranger_B = group this
Delta_A = group this
Delta_B = group this
....and i am now getting the error i mentioned in last post

Ranger_A #= group this  Error, reserved variable in expression

B-2-0

  • Guest
Re:Trigger Q
« Reply #19 on: 29 Aug 2003, 01:58:13 »
Ok, i need to get this sorted.   Does anyone know where i have gone wrong here?

Komuna

  • Guest
Re:Trigger Q
« Reply #20 on: 31 Aug 2003, 02:31:00 »
The archive within this post contains a sample of trigger you wanned.

Good luck!

B-2-0

  • Guest
Re:Trigger Q
« Reply #21 on: 01 Sep 2003, 01:38:37 »
Thanx Komuna, that's great stuff m8!! :thumbsup:

I have one more question (a simpler one) ;D concerning the same trigger.

I want this trigger (trig1) to be activated only when another trigger (trig2) is active.  Do i simply name the triggers like so and enter into trig1 condition field...trig2 = true...before the rest of the condition u gave me earlier (obviously with ; inbetween) or do i put...trig2 = true...after the condition u gave me earlier with AND inbetween?

Thanx again :)
« Last Edit: 01 Sep 2003, 01:45:15 by B-2-0 »

Komuna

  • Guest
Re:Trigger Q
« Reply #22 on: 09 Sep 2003, 04:21:02 »
'AND', of course!

';' is used between commands, only. Sorry if I confused you in that post, but you shall use 'And', 'Or', 'Xor', 'Nor', etc, only to connect conditions. Therefore:

MyPreviousCondition And Trig2


Sorry being late, but I've been working at the great Avante! festival for a week! Over 500.000 people in just 2 and a half days!
« Last Edit: 09 Sep 2003, 04:22:39 by Komuna »