| 04-10-2005, 02:57 AM | #1 |
Okay, since orb based abilities are totally fubar in this patch. I need some help. I know I can do: event: unit is built condition: unit of type action: add acquisition event to a generic "make unit attack target" trigger. If there is anyway at all to get rid of an event by it's assosiation with a unit the rest of the post doesn't matter and that is all I need. Otherwise... Is there anyway at all to get rid of an event? If not then what would be better: 1. Adding events for all the units and by the end of the game have a trigger with 100s of events (even if only 1/3 of the will ever cause it to go off). or 2. Create a trigger for each seperate unit. Somehow assosiate that trigger with the unit, and then destroy the trigger when it will no longer be used. This would end up making 100+ triggers active, but they would all be very simple and only fire on a specific unit event. Or if anyone else knows a way to work around the orb problem, that is welcome as well. |
| 04-10-2005, 03:42 AM | #2 |
either way works if u ask me, 1) i have a trigger that keeps adding events to it, it seems to have no problems 2) gamecache is your friend :p, you can use it to 'bind' a unit to a trigger/a trigger to a unit, you can create a function that generates a local trigger based off another function for actions and destroys itself when its done |
