| 07-27-2004, 02:25 PM | #1 |
hi, which trigger do i need to use, if i want to stop the training process of an unit without interrupting it completely? if there is no such trigger, how can i implement this effect: - building is issued train order for unit - "recruit unit" runs up to building - "recruit unit" is removed - building starts to train unit? when i try to trigger this the unit runs to the building and is removed, but the training process has already started or doesn't start at all. :/ |
| 07-28-2004, 07:55 AM | #2 |
Freezing breath ability stops the buildings functions, just have a dummy spell caster cast it on the building. |
| 07-28-2004, 02:11 PM | #3 |
Dont forget that the dummy caster should have no model and no attack and no shadow and have the aloc ability (cant be selected). And, after you use the dummy, get rid of it. Thats all you need to know, at least right now. |
| 07-29-2004, 10:10 AM | #4 |
well thanks for your help guys i think no i will have no more problems to trigger the desired effects ![]() |
| 07-29-2004, 10:24 AM | #5 |
Well, in this case, since freezing breath is a attack-based ability, your dummy unit should have an attack; just give it the "worker" classification so it doesn't attack on it's own, but only the specific target you order it to. Also change the duration of the "freezing" to something insanely high; then, when the unit enters the region, just remove the buff (and don't use the standard buff, because we don't want a block of ice around the unit, use something that doesn't have a graphical effect). Also, check for the possibility that the building can be dispelled (make sure all dispell in your map cannot target mechanical; well, maybe they already can't by default, but it's safer to check). One last thing is that the building can be issued a train order when it's already training a unit; in that case, you would want the training of the first unit to finish before you freeze the building again. Well, that's all the tips I can think of the top of my head to give you. |
| 07-29-2004, 11:55 AM | #6 |
You don't actually have to spawn a 2nd dummy unit to dispell the building, you can remove buffs with triggers. You can't add buffs with triggers reliably though (it won't have any game effect). |
