| 08-01-2003, 01:06 AM | #1 |
How do I do it? I'm trying to assign a variable to a unit so I can change it's ownership as soon as it's summoned. Nothing works though. Has anyone ever had this problem before? |
| 08-01-2003, 01:29 AM | #2 |
I have.. I had to resort to doing something else.. |
| 08-01-2003, 01:42 AM | #3 |
Well I could make a custom no effect ability that triggers the summoning and destruction of a unit. Only problem is that I have no idea how to make the unit show up where the player clicks when he casts the ability. Any help there maybe? Any help would much appreciated, thank you! :D |
| 08-01-2003, 01:54 AM | #4 |
trigger 1- unit issued order targetting point, issued order = <orderstring of ability>, targetsArray[customvalue(triggering unit)] = point targetted trigger 2-unit finishes casting spell, spell = <the summoning spell>, create X units for player Y at region (convert point with size to region (targetsArray[custom value( triggering unit )], 100,100) |
| 08-01-2003, 03:03 AM | #5 |
Huh? :( Here's what I got from your explanation I hope it's near correct. Trigger 1: E: Unit - A Unit is issued an order targeting a point. C: Ability Comparison - Ability being cast is equal to Ability A: I don't understand how to do that. I can't find an action which sets a value to a targeted point. I found one to set a value to a targeted unit, or a triggering unit, but no points. Sorry, my signature does not lie. :bgrun: |
| 08-03-2003, 08:27 PM | #6 |
hey if you still need help why not use the "last created unit" trigger, then if statement =(whatever) then change ownership |
