HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Phasing Capabilities

02-12-2007, 12:54 AM#1
Deathlust
I was curious if there is an easy way to give a unit the capability to walk through doodads (Such as a tree) without allowing other units to walk through it. So the unit that can walk through them is given the obvious advantage of being able to move through-out trees and etc. Is there a way to do this without making the unit flying or allowing all units to go through the trees?
02-12-2007, 01:42 AM#2
Raydude
A dummy spell that when u use it, it replaces it with a flying version of the unit with the height of 0 and targeted as ground. When replacing, make player click on the replaced version of the unit.
02-12-2007, 01:48 AM#3
Pyrogasm
Just give it the "locust" ability (Rawcode: Aloc) if you want it to always be able to walk through trees/destrucables.

If you want it to be able to/not able to under different conditions, use these two commands:
Trigger:
Unit - Turn collision for Footman 0000 <gen> On
Unit - Turn collision for Footman 0000 <gen> Off
While it has no collision, the unit can walk through things, but will itself be treated as an obstacle.

Raydude, your solution (while effective) is horribly inefficient.
02-13-2007, 02:44 AM#4
Raydude
Yeah i know, I think complicated crap instead of just right to the point XD like using repeating triggers instead of loop XD
02-13-2007, 02:56 AM#5
Pyrogasm
Oh well. You tried, and I Rep'd you anyway!
02-13-2007, 02:59 PM#6
Raydude
Na i didnt desserve it, but the collosion 0 wont work if he wants to go over terrains and im pretty sure that he dont want the unit to go through other units too
02-13-2007, 11:07 PM#7
Feroc1ty
It allows you to go thru the following:
Unwalkable terrain
Units
Doodads

Exept the walking system of wc3 make the unit go around every obstacle, altough the unit itself is able to move thru the objects, so pretty much you will have to spam ur right click to move thru the fun stuff.
02-14-2007, 02:35 AM#8
Av3n
Umm, Raydude can be done by using the metamorphthesis abiltiy (Using Raydude's settings) That way if will be more effeint

-Av3n
02-15-2007, 12:31 AM#9
Raydude
Cool