| 12-30-2003, 01:21 PM | #1 |
if u select your hero using possesion (AoS type map), how can i make the selected hero appear in the base? i tried doing event: unit enters region condition: triggering unit is a hero AND owner of triggering unit is user event: move triggering unit to "base" but it doesn't work. help plz? |
| 12-30-2003, 01:41 PM | #2 |
That trigger confuses me... I will just get to the point. (I used this system in a very simple map and this is how I did it.) The hero selection units, when they begin casting the ability - set the target to a variable. It doesn't matter if they interrupt the spell and cast it on another because it will set the new hero to the variable. And when the spell finished casting, move the hero (with the variable) to your destination. If I'm correct I used two triggers... Trigger 1 Event Unit is given an order targeting an object Condition Ordered unit equal to hero selector Issued order equal to possession Action Set <TargetHero> = target unit of issued order Trigger 2 Event Unit finishes casting ability Condition Ability being cast equal to Possession Action Move <TargetHero> to center of <Base> instantly SOMETHING LIKE THAT! If you need any help just ask, but that should work pretty well. |
| 12-30-2003, 02:07 PM | #3 |
thx alot, but i can't do this. i have RoC, and there is no "Event: Unit finishes casting ability" function. is there another way? |
| 12-30-2003, 02:29 PM | #4 |
Yeah, 'starts the effect of an ability' should work too. I don't know if you have that one either if you don't have the other. |
| 12-30-2003, 07:14 PM | #5 |
i don't. :( what i do have is "issued an order targeting unit/point/no target" which isn't very useful... i know there is a way though since this have been done it DotA in one version (and also in DotA Hardcore). |
| 12-30-2003, 07:52 PM | #6 |
All I can think of is to use a workaround instead of possession, since you are unable to recognize the spell completing with a trigger. (I also strongly suggest getting TFT if at all possible, not that I would know but RoC-only editing seems like a huge pain in the butt.) I use another system in a different map that is similar to possession, but I just use a dummy spell and destroy the casting unit and replace it with triggers. But it also uses the "finishes casting an ability" event. I don't know what to tell you, but I'm sure someone else knows the answer. |
