HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

problem regarding unit reference

09-17-2006, 03:46 AM#1
seraphthrone
Trigger:
Unit Group - Order (Units of type dummy2) to entanglingroots (Random unit from (Units within 150.00 of (Position of (__________))))


For the code above, anyone knows what I can use to refer to the unit that is casting entanglingroots?(I was intended to put it inside the blank)

Or if its impossible, what else can i do to reach the same effect to that of the line i posted
09-17-2006, 04:57 AM#2
TaintedReality
Picked Unit. Because the Unit Group actions pick all units in the group, and does something to them (in this case orders them).
09-17-2006, 10:34 PM#3
seraphthrone
i think the "picked unit" only applies to "pick units and do action"
09-17-2006, 11:32 PM#4
TaintedReality
It's picked unit.
09-17-2006, 11:53 PM#5
seraphthrone
I've tried the picked unit and it doesn't work

here is my map: http://wc3campaigns.net/attachment.p...1&d=1158537338

the ultimate is the skill im talking about, wut it basically does is to create dummycasters for every tree around the casting hero. and if there is a unit within 200 range of a dummycaster, that dummycaster will use entanglingroots on the unit.


also i'm having trouble with my 1st and 2nd skills. sometime it doesn't work dono why
09-18-2006, 12:30 AM#6
shadow1500
You cannot refer to that unit. You must use the action "Pick every unit in unit group and do actions", and then use picked unit.
09-18-2006, 12:43 AM#7
TaintedReality
Oh...I was wrong then. Been a while since I've used GUI =\.