Home   Help Search Login Register  

Author Topic: About trigger!!  (Read 2486 times)

0 Members and 1 Guest are viewing this topic.

Offline Cougar

  • Members
  • *
  • I'm a llama!
About trigger!!
« on: 25 Aug 2002, 05:00:03 »
Alright well I cant find a way to make the end of my mission! i tried syncronisation but doesnt work with empty vehicles! I have empty vehicles tht need to be stoled and bring them to a location heres 2 screenies




The problem is tht i cant make a trigger at the destination because anybody on west can activate it! So does there is a way to make a trigger and its activate only with specific units.For example all the 4 truck must be there to activate it
If one is missing in the area of the trigger it wont activate! And please type what i need to put in the trigger :-)!It might be confusing lol but if you dont understand just tell me and ill try to make myself more clear!

Ty

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:About trigger!!
« Reply #1 on: 25 Aug 2002, 06:06:31 »
You could try something like this:

Trigger

Radius: as required
Condition: Anyone Present
Condition Field: "_x in thislist" count [ truck1,truck2... ] == "alive _x" count [ truck1,truck2... ]
OnActivation: desired effects

Add all the names of your vehicles into the bold arrays. The trigger won't go off until all those vehicles (that are still alive) are inside it's radius
« Last Edit: 25 Aug 2002, 06:12:53 by Sui »

Offline Cougar

  • Members
  • *
  • I'm a llama!
Re:About trigger!!
« Reply #2 on: 25 Aug 2002, 06:15:33 »
alright thanks mate gonna try tht and see if it work!!!

Offline Cougar

  • Members
  • *
  • I'm a llama!
Re:About trigger!!
« Reply #3 on: 25 Aug 2002, 06:53:54 »
well i tried it but as soon as i enter the game the mission finish!I hate feeling like a newbie <grin> I entered all except what i should add into the on activation??? Its my last objective so i should add what into the "on activation"?? The trigger set like tht it fire up even if the vehicles arent in the area of the trigger! they are still at the enemy base and the mission is complet :-\!

crow

  • Guest
Re:About trigger!!
« Reply #4 on: 25 Aug 2002, 07:22:44 »
You could try something like this:

Trigger

Radius: as required
Condition: Anyone Present
Condition Field: "_x in thislist" count [ truck1,truck2... ] == "alive _x" count [ truck1,truck2... ]
OnActivation: desired effects
Try removing the Condition: Anyone Present that should work.  What it is doing now is as soon as some body enters the trigger it counts the vehicles and checks if they are alive and then ends the mission.

Add all the names of your vehicles into the bold arrays. The trigger won't go off until all those vehicles (that are still alive) are inside it's radius
 :cheers:
« Last Edit: 25 Aug 2002, 07:23:42 by crow »

CrashnBurn

  • Guest
Re:About trigger!!
« Reply #5 on: 25 Aug 2002, 08:47:07 »
How about a small radius trigger at the destination area for each truck, grouped to each truck, (vehicle-present). In the on activation you could put:
truck1madeit=true
truck2madeit=true
etc....for each of the 4 triggers. Your end trigger has the condition-
truck1madeit and truck2madeit and truck3madeit and truck4madeit. Works fine ;)

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:About trigger!!
« Reply #6 on: 25 Aug 2002, 09:11:12 »
Try removing the Condition: Anyone Present that should work.

*cough*

Do not remove that condition... it's very necessary ;)
The trigger must be set to present, otherwise the units in the trigger (the array called thislist) will come up empty.

If you want this trigger to be the end one in your mission, I suggest you set it's Type: end# and leave the onactivation field blank...

Make sure the radius of that trigger isn't set to 0,0, or too big either... the area of the trigger should cover the area you need to get the trucks to to finish the mission.

Also, make sure both arrays contain the (correctly spelt ;)) names of all the trucks  

Offline Cougar

  • Members
  • *
  • I'm a llama!
Re:About trigger!!
« Reply #7 on: 25 Aug 2002, 09:34:45 »
lol guys i dont know if its me but it still doesnt work!!! Maybe u guys wanna get my mission??? :-\ and see what happen!!!

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:About trigger!!
« Reply #8 on: 25 Aug 2002, 10:01:16 »


[attachment deleted by admin]

Offline Cougar

  • Members
  • *
  • I'm a llama!
Re:About trigger!!
« Reply #9 on: 25 Aug 2002, 10:37:33 »
lmao lmao lmao oh man ty very much for tht mission and with the exemple i found my error now the trigger dont go off when i start!!! Now im sure u wanna know what was my error huh!! Well i looked your mission and checked the trigger looking at the condition and when it was the time for ...."alive _x" lol i add no space btw the _x and alive :-( :-\ Im really sorry bout tht hehe but now i know better about tht kind of trigger!!

So thank you very much folks and Sui you da man!!!

Cheers