HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Disable Unit Movement?

10-01-2011, 12:27 PM#1
Thunder_Eye
Hello,

What I want is basically a replicate of the Ensnare ability that works in melee (doesn't have to work for flying units). This means that I can't base it off Ensnare, Entangling Roots or any similar spell as the buffs won't stack.

Neither can I set the gameplay constants for minimum move-speed to 0, as that could cause units to have 0 movement speed due to move-speed de-buffs (which can't happen in melee).

I've searched around a bit but haven't seem to be able to find an answer, so I'm posting here hoping someone has a solution for this problem. So far Web seems to be the best choice, though it has the same complications as the other two.
10-01-2011, 01:00 PM#2
Switch33
Could use the root ability?

I don't understand your problem though. It seems more of a problem with what ur doing for ensnare and everything else sorta as far as abilities go. You should maybe trigger the movement disable by ensnaring the unit. See Status on TheHelper for an example i guess.
10-01-2011, 01:14 PM#3
Thunder_Eye
The problem with Root is that it disables half of the command card and the related orders, something Ensnare and Web doesn't.

From looking at Status it seems to use the same method as UnitStatus, which uses a custom Ensnare ability to simulate the ensnare effect. The problem here again lies in that this "triggered ensnare" doesn't stack with the regular Ensnare from Wolf Raiders.

The buffs from a custom Ensnare and the regular one doesn't stack. Not sure how to explain myself otherwise.

Try triggering an ensnare on a unit, and afterwards using a Wolf Raiders ability on it or vice versa. Should show what my problem is.
10-01-2011, 02:08 PM#4
Anitarf
Quote:
Originally Posted by Thunder_Eye
From looking at Status it seems to use the same method as UnitStatus, which uses a custom Ensnare ability to simulate the ensnare effect. The problem here again lies in that this "triggered ensnare" doesn't stack with the regular Ensnare from Wolf Raiders.
The only thing I can suggest is that you use UnitStatus and then replace the original ensnare with a triggered version of itself.
10-02-2011, 01:56 AM#5
Fledermaus
Yeah, trigger all your Ensnare abilities to use EnsareUnit (from UnitStatus) and you're fine.
10-03-2011, 09:24 PM#6
Thunder_Eye
Quote:
Originally Posted by Anitarf
The only thing I can suggest is that you use UnitStatus and then replace the original ensnare with a triggered version of itself.

I feared that would be the case, I'll have some work to do to get it working exactly like the regular ensnare then.

Cheers for the help anyways!