| 09-13-2009, 01:00 AM | #1 |
I want a building or unit to be able to turn but not move (preferbly a building) should I workaround with triggers, and if so how (can you recomend anything)? as it is now they attack each other without turning, so both are looking at the same direction but still being able to attack (looks messed up, halp) ... thats all... thx! ;) |
| 09-13-2009, 02:22 AM | #2 |
Add the Root (Ancient Protector) ability to the unit, if i recall correctly. (To hide the ability, make a spellbook ability, add the root ability to the spellbook ability, add the spellbook ability to the unit, and disable the spellbook ability for all players using a trigger) |
| 09-13-2009, 10:27 AM | #3 |
i added the ability, its the same unit, but it can still not turn... This lead to a series of new questions actually, I'm making a map sort of a td, but instead of towers you place out units, (thats why I want them to be able to turn) and the root ability was a good way to move them to a new position, but now some units like footmen have the ability to shield, but when you uproot you cant turn it on/off it dissapears. also, I would like to add a blink but it seems you cant have abilities while uprooted, need help coming up with a work around. |
| 09-13-2009, 11:07 AM | #4 |
What if you set their maximum movement speed to 1 in the object editor and periodically move them back to their original position with a timer? Can the units auto acquire targets? |
| 09-13-2009, 11:22 AM | #5 |
Or just ensnare them, when they are built |
| 09-13-2009, 12:09 PM | #6 | |
Quote:
|
| 09-13-2009, 02:42 PM | #7 |
will try ensnaring them, but they do move with 1 speed. Ensare worked like a charm, and if you set duration to 0 it works forever, right? anyhow, do I have to create a insible dummy unit that casts it every time a unit is constructed or should I do it in another fashion? *edit: the problem with ensare is that it also, dissables the unit from casting spells *edit2: i take it back, it only hinders it from doing some spells, for now its fine ;) |
| 09-13-2009, 03:02 PM | #8 | ||
Quote:
Should be... unless I'm wrong? Quote:
Well, I would do this if I were you. dummy + locust + no model + expiration usually works fine for me |
