| 08-18-2004, 12:35 PM | #1 |
I have a trigger problem. When player red trains a unit at a building, it should stop producing but I just can't find the 'stop production' or 'stop train unit' trigger, I tried it with 'set training/construction availability of unit' and made the unit unavailable for the player but it didn't stop the production. Help is greatly appreciated |
| 08-18-2004, 02:13 PM | #2 |
Easy trigger: Code:
Events-A Unit finishes training a unit Condition- Unit equal to Your building Events- Pause Your Building (or stop unit) wait 1 second Unpause Your Building |
| 08-18-2004, 02:33 PM | #3 | |
Quote:
Nope, that doesn't work and the event is wrong, it should look like this Code:
Events - A Unit begins training a unit Condition - Unit equal to my building Actions - ?? So now i'm searching for an action that stops training the unit that gets trained at that moment. The pause/unpause trigger didn't work :( |
| 08-18-2004, 02:35 PM | #4 |
Well, you could destroy that building and create a new one of the exact same type in the same location. |
| 08-18-2004, 02:44 PM | #5 | |
Quote:
... no. -_- that wasn't the solution I wanted. And it's also too difficult since the same building that produces the units, also has a hero loaded, so when I would destroy the building, the hero in it would die or would get thrown out. |
| 08-18-2004, 02:47 PM | #6 |
It was just a suggestion :** You didn't really explain your situation in too much detail. |
| 08-19-2004, 12:08 PM | #7 | |
Ya I know. This: Quote:
wasn't really serious, anyway if someone has a solution for my problem I would gladly hear it! |
