| 03-23-2006, 09:30 PM | #1 |
Ok for an arena map I've made it so slowly the arena slowly gets smaller and smaller each round. Fire is made on the edges each second, surrounding the arena and shrinking towards the center. Each time there is a new round I destroy the fire and stop the trigger. When the next round starts I reset the create fire trigger. The problem is, it doesnt start from the start it continues where it left off. I.e. the fire starts spawning where it last stopped in the previous round. So instead of the out edges it will start e.g. half way and start coming in. I've tried resetting the trigger and removing all actions but I cant get it to restart afresh. Help plz ![]() |
| 03-23-2006, 09:37 PM | #2 |
Posting the triggers would be a help. Are you sure that you kill the last trigger execution (skip all remaining actions)? And reset all the variables? PS: Did you fix the bug with the gaps in the fire? |
| 03-23-2006, 09:47 PM | #3 |
Yea I fixed the gap, ive resized the arena and redid the fire. Basically I have one trigger which is Create Fire at region.. Wait 1 second Create Fire at region.. Wait 1 second Very ineffcient I know 1 trigger that turns of the fire trigger and destroys all fires. Then 1 trigger that turns it back on and resets it. But it doesnt get reset? It continues where it was from. |
| 03-24-2006, 06:44 AM | #4 |
Triggers please. |
| 03-24-2006, 09:07 AM | #5 |
When each round starts this trigger is meant to run from start Trigger: ![]() Unit - Create 1 Red Fire [2] for Neutral Hostile at (Center of Fire001 <gen>) facing Default building facing (270.0) degrees
![]() Wait 1 second
![]() Unit - Create 1 Red Fire [2] for Neutral Hostile at (Center of Fire002 <gen>) facing Default building facing (270.0) degrees
![]() Wait 1 secondMost likely very inefficient When rounds stops, i.e. 1 team has won Trigger: Trigger - Turn off Fire <gen>There is a short break, for ppl to buy items etc. then the next round starts Trigger: ![]() Trigger - Reset Fire <gen>
![]() Trigger - Turn on Fire <gen>
![]() Trigger - Run Fire <gen> (checking conditions)Obviously I have a destroy all fires that are in arena at end/start of round I thought this would restart it from scratch. Generally 1 of 2 things happen depending on what way Ive put the triggers. - The fires continue to spawn from where they left off the previous round, instead of from the start. - Above happens AND fire spawns from start I hear putting boeleans in create fire trigger would be best? Edited by Blade.dk. Reason: Use trigger tags, please! |
| 03-24-2006, 03:01 PM | #6 |
Im not sure about this Trigger actions, but maybe you could test putting the "Reset" after the "Run Trigger" Else you could add condition check between the fires and when its false stop the trigger. |
| 03-24-2006, 04:18 PM | #7 |
Its ok we managed to get it working :-) thx for help Thunder_Eye |
