| 04-23-2009, 05:13 AM | #1 |
These have been discussed in many threads but no clear solution was given. 1) Is it possible to disable unit collision? Not to be confused with pathing collision because that allows you to walk through anything. Ghost and Ghost(Visible) do not work for me. I don't know why. 2) Is it possible to freeze a unit's animation? As in pause whatever the last thing the unit did. Thanks. Help would be greatly appreciated. P.S. It's for my Astral Walk spell. I have no intention of learning JASS anytime soon, so please no, JASS-related solutions. Thanks again. |
| 04-23-2009, 06:32 AM | #2 |
2) You can set the animation speed of the unit to 0. |
| 04-23-2009, 06:33 AM | #3 |
Yeah, there is a function to disable units collision. |
| 04-23-2009, 06:43 AM | #4 |
@0zyx0: I tried that, it doesn't work... I'll try it again. @Feroc1ty: If you mean the trigger: Unit - Turn Collision Off/On, that's what I mean about pathing collision, it allows you to traverse any terrain. What I mean is like the collision mode of Wind Walk wherein you only pass through units. Let me reiterate that Ghost and Ghost (Visible) DO NOT work. |
| 04-23-2009, 07:44 AM | #5 |
set collision size of the unit to 0 ?? |
| 04-23-2009, 08:07 AM | #6 |
to remove collision, add the ghost (visible) ability to the unit and set its collision size to 0. |
| 04-23-2009, 12:05 PM | #7 | |
Quote:
Wouldn't setting collision size be enough to make a unit pass through other units? I know about this method already but heard it was glitchy. I was hoping someone would have a better way. Thanks though. |
| 04-23-2009, 12:15 PM | #8 |
how is it glitchy? |
| 04-23-2009, 12:43 PM | #9 | |
Quote:
NVM, that method still doesn't work. The non-collision thing is for a permanent summoned unit, with Resistant Skin, and Spell Immunity if it is of any help. |
| 04-23-2009, 12:54 PM | #10 |
Make it flying? Simple workaround. |
| 04-23-2009, 01:30 PM | #11 | |
Quote:
That would allow him to traverse all forms of terrain still. |
| 04-23-2009, 02:49 PM | #12 |
Ghost ability will only prevent a unit from blocking other units but not being blocked itself. Setting collision size to 0 just doesn't work irrc. That's one of these fields that just don't want to be set to 0 (like acquisition range). I think your best bet would be to take advantage of the Windwalk spell. It's the only spell that grants the effect you want. Try setting its duration to 0 (= infinite) and fading time to -1 (shift clicking). Then activate the ability via trigger once the unit is created. Edit: concerning the unit freezing: It's not really possible to stop a unit from triggering the walk animation but you can counter it using a periodic timer/trigger that moves the unit to its position. call SetUnitPosition(u, GetUnitX(u), GetUnitY(u)) Some maps that feature "sliding" do it this way. |
| 04-23-2009, 03:26 PM | #13 |
Whoops, I misread what he said. Though it was an immobile summon xD |
| 04-24-2009, 02:22 PM | #14 |
Thanks! Those are really useful hints. And I already figured out a way to freeze the animation. Thanks, again! You've been awesome Opossum! |
