| 08-02-2003, 01:56 AM | #1 |
ok I've asked about this before and I've tried doing it all sorts of ways. I've had answers to this problem and used them, but they ended out not working. Here's the problem. I need a hero to summon a unit that belongs to a different player then dies in 30 seconds. So far this is what I have. Trigger 1: E: Unit - A unit begins casting an ability. C: Abilitying being cast is equal to Ward of Lightning. A: Variable(LightningWardPoint) = Region of (Target of last issued command) convert to size (100,100) Trigger 2: E: Unit - A unit finishes casting an ability. C: Ability being cast is equal to Ward of Lightning. A: Create Ward of Lightning for Player 2 at Center of Variable(LightningWardPoint) with Default Building Face. A: wait 30 seconds. A: Kill last created unit. All this does is summon my ward in the middle of the map. What the hell is wrong! this seems almost perfect! Oh yea, and my variable is a region type with no initial value. |
| 08-02-2003, 02:44 AM | #2 |
what are you trying to do exactly? Cos can't you use triggers to chnage the owner ship of the ward? or are they not units? if its a unit couldnt you do Event Unit enters region= playable map area COndition Unit= ward of lightning Action change owner of triggering unit too player two. Just tested It now and got it working with healing ward, So when you casted it it changed the owner instantly. |
| 08-02-2003, 03:08 AM | #3 |
yep that should work but why would u want to summon somthing for another guy |
| 08-02-2003, 03:12 AM | #4 |
My way just seems overly complicated now. emote_sweat Still, I need to know how to warp to target point when I cast an ability because I have a spell that fires a projection of the unit at a target and deals line damage. It's speciality that sets it off though is that I want the unit to blink with the spell and warp. Are there any RP's with a command similar to this that aren't locked? In reply to the second post: I want the unit to cast a spell continuously very fast. So I figured giving the target to the comp would make the unit chain cast the spell. |
