| 12-06-2002, 11:23 PM | #1 |
Guest | Hey guys, Stupid newbie questions. Do you always have to have an event for a trigger? I'm assuming not, but how about this kind of situation: I add 4 heros to a unit group array called HeroGroup1 I add 4 other heros to a unit group array called HeroGroup2 I then want the following to happen: When a hero gets near a unit from HeroGroup1, make that unit follow and add that unit to a unit group array of FollowingHG1. The same goes for the other team. Now I know theres an event, unit enters range, which is what I want to happen, but it won't let me select a unitgroup variable to assign the event to. How do you deal with these situations? Thanks! -dolby |
| 12-06-2002, 11:30 PM | #2 |
YOu don't HAVE to have events for triggers, but they wont run automaticly if you don't. The only other option is running a trigger from inside another trigger using the trigger action: Trigger - Run Trigger (X) - - - Also, nowadays witht the "advanced" editors, you can basically easily create whole new triggers with actions, events and such. |
| 12-07-2002, 12:03 AM | #3 |
Guest | Thanks for the reply. How would you suggest I setup my situation? If you give me one example I can solve about 5 seperate similar issues i'm having :). Thanks! |
| 12-07-2002, 05:13 PM | #4 | |
Guest | Quote:
While I'm sure there is another trigger solution that does exactly what you are talking about, why don't you just make the units rescuable and then make another event that is triggered by a rescue? If you don't want the units to be under the control of a player, you can change the control with the rescue event trigger and go from there. |
