Page 1 of 1
I have a problem with the triggers.
Posted: Thu Jul 31, 2008 2:56 am
by omega20
When I'm going to create a unit (using triggers) in a map, this unit is created twice. And the trigger is simple, look:
C - Always
A - Create 1 unit at location to player
Why?
Also, ALL the switches are set at the same time! (I've checked the triggers many times; I haven't done anything wrong, I assure you)
Can anyone help me, please?
Re: I have a problem with the triggers.
Posted: Thu Jul 31, 2008 3:23 am
by Revan
The first trigger runs for two players (or a force of two players), doesn't it? That's why it creates two units; it runs itself twice.
Re: I have a problem with the triggers.
Posted: Thu Jul 31, 2008 5:19 am
by omega20
Revan wrote:
The first trigger runs for two players (or a force of two players), doesn't it? That's why it creates two units; it runs itself twice.
Oh, yes, I didn't notice that. Fixed. It now works perfectly. Curiously, the problem with the switches is solved now... Thanks.

Re: I have a problem with the triggers.
Posted: Thu Aug 28, 2008 6:01 am
by slasher
man i really hate switches but ive never stoped to wonder what are they?

Re: I have a problem with the triggers.
Posted: Thu Aug 28, 2008 6:55 am
by Whiplash!
slasher wrote:
man i really hate switches but ive never stoped to wonder what are they?
They are useful for having an event start as soon as you want it to get triggered from any type of event.
Re: I have a problem with the triggers.
Posted: Thu Aug 28, 2008 9:50 am
by Legion
slasher wrote:
man i really hate switches but ive never stoped to wonder what are they?
They're exacty that, "switches". I find them extremely useful, and they make things possible that wouldn't be possible otherwise. A prime example is Oracle's LotC -- the installation maps, especially.
Re: I have a problem with the triggers.
Posted: Thu Aug 28, 2008 10:22 am
by Lavarinth
You know, at one point, I was like slasher and preferred to use a lot of conditions over switches. I only discovered the value of switches by looking at the door tutorials as well as realizing it's a great way to allow the story to continue at a previously explored location by setting a switch to on and the right conditions also met.