Page 1 of 1

Need help with a trigger

Posted: Sun Feb 10, 2008 8:23 pm
by hitman
im new to the map making seen but i looks like fun so im going to give it a try.  i have a simple switch im having prob's with.

player one brings a unit to location 1
unit is created at location 2
but i just keeps making the unit and the switch won't clear if im not clear im sorry.

Re: Need help with a trigger

Posted: Sun Feb 10, 2008 9:16 pm
by The Oracle
Hey Hitman,

It's been awhile since I used staredit but I believe it goes like this:

Condition:
Player "X" brings unit "Y" to location "2"
Switch "X" is clear

Action:
Set Switch "X" to On
Create "1" of Unit "Y" at Location "2"

(This will ensure only one unit is made unless you add another trigger which clears the switch)

Re: Need help with a trigger

Posted: Sat Feb 16, 2008 12:39 am
by hitman
ok thanks for the help i will try it out

Re: Need help with a trigger

Posted: Fri Feb 22, 2008 6:37 pm
by Lingerance
You should be able to remove the requirement for a switch if you remove the "preserve trigger" check box.