| 10-14-2003, 12:08 AM | #1 |
I'm using triggers so that whenever a Ziggurat is made it adds green fog to the created blight. I did the following: Events: Unit - A unit owned by Player 1 (Red) Finishes construction Conditions: (Unit-type of (Constructed structure)) Equal to Ziggurat Actions: Region - Center Region 001 <gen> on (Position of (Constructed structure)) Environment - Create at Region 001 <gen> the weather effect Dungeon Green Fog (Heavy) It's still a melee map and I want to make it so that any UD player that builds a Ziggurat will get the effect. However, nothing happens. Any ideas as to what I could do? |
| 10-14-2003, 02:02 AM | #2 |
make a region the size of the building then move it in, and create at that location. Because the position of the unit is 1x1px so even if it was being created you would see nothing. |
| 10-14-2003, 02:04 AM | #3 |
don't forget to enable the weather effect after you create it. |
| 10-14-2003, 04:29 AM | #4 |
Oh yeah, sorry. I forgot to tell you that I had created a region the size of the spreaded blight at a random location (@ Region 000 <gen>) I think I set it up so that the region automatically moves to where the ziggurat is created. Maybe it's the enabled weather effects. How do I enable weather effects? Thanks for your help so far. |
| 10-14-2003, 06:01 AM | #5 |
Weather Effects - Enable/Disable Weather Effects - Enable (last created weather effect) Or, something to that extent. But you get the idea. |
| 10-14-2003, 06:31 AM | #6 |
Is that a trigger, or an option? If it's a trigger how do I set it up? Forgive me, I'm not very good at this. Thank you for your time. |
| 10-14-2003, 07:00 PM | #7 |
It's an action, under "Weather Effect" |
| 10-14-2003, 11:42 PM | #8 |
Great! It works, thanks guys. The problem was that I didn't have the weather effects on. Here's what I have done: Events: Unit- A unit owned by Player 1 (Red) Finishes construction Conditions: (Unit type of (Constructed Structure)) Equal to Ziggurat Actions: Region- Center Region 000 <gen> on (Position of (constructed Structure)) Environment- Create at Region 000 <gen> the weather effect Dungeon Green Fog (Heavy) Environment- Turn (last created effect) On And Region 000 <gen> is a random square location on the map. But I have another question. I'm going to try and further this. I'm going to apply this effect to multiple structures (Necropolis and Haunted Mine). Can I further tweak this trigger or do I need to make another? |
| 10-15-2003, 01:00 AM | #9 |
try using OR, multiple conditions then creating a condition for each building type |
| 10-15-2003, 01:00 AM | #10 |
nm, I figured it out. I used the "or, multiple conditions" trigger. |
