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.
Need help with a trigger
-
hitman
- Terran Settler (Unemployed)

- Posts: 2
- Joined: Sun Feb 10, 2008 8:01 pm
- The Oracle
- Xel'naga Hero

- Posts: 280
- Joined: Sun Nov 19, 2006 9:00 pm
- Location: Imprisoned on Aiur
Re: Need help with a trigger
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)
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)
You haven't lived until you've edited 5,000 recorded .mp3's of dialogue!
-
hitman
- Terran Settler (Unemployed)

- Posts: 2
- Joined: Sun Feb 10, 2008 8:01 pm
Re: Need help with a trigger
ok thanks for the help i will try it out
- Lingerance
- Terran Refinery Attendant

- Posts: 20
- Joined: Fri Aug 24, 2007 7:46 am
- Location: St. Albert
Re: Need help with a trigger
You should be able to remove the requirement for a switch if you remove the "preserve trigger" check box.
Penguin?
The asterisk pony plays poker every Tuesday except after Mondays and only if the moon is pink. His tell is he will always bluff while wearing a plaid tutu, the clouds are never monochromatic, catch them while white and fluffy, the black ones taste like robots.
The asterisk pony plays poker every Tuesday except after Mondays and only if the moon is pink. His tell is he will always bluff while wearing a plaid tutu, the clouds are never monochromatic, catch them while white and fluffy, the black ones taste like robots.