HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Can units become towers?

02-24-2004, 12:19 PM#1
Locoh8u
I want to make a unit into a tower, I know you can change them into buildings, but they don't face opponents, so what im after is a way to make a unit building turn to face opponents but have no movements.

please help & thanks for reading.
02-24-2004, 12:24 PM#2
BonsaiSan
Hello, obviously most impoltant fact about answeling wuestion is undelstanding ploblem. Bonsai must admit youl question is open to valiety of intelpletations.

Okay Bonsai assume simplest folm of intelpletation: You want unit A(moving) to become unit A(non moving).

Simplest thing is to make extla unit B(no speed, no movement) and leplace unit A with unit B depending on events and conditions you set.

Edit: Bonsai know is possible to adjust movement speed of unit, but Bonsai no know fol sule if movement speed 0 is actually going to stop unit flom moving.
02-24-2004, 12:33 PM#3
Locoh8u
No, I know i can make a moving unit become a non moving unit, but i want it to turn to face it's opponents when firing, not just attack whichever way the building is facing.
02-24-2004, 12:57 PM#4
Verjigorm
Quote:
Originally posted by Locoh8u
No, I know i can make a moving unit become a non moving unit, but i want it to turn to face it's opponents when firing, not just attack whichever way the building is facing.



You could try to morph ur unit, but I even if it works unit->building it would not face it's opponents...
02-24-2004, 07:06 PM#5
BonsaiSan
Quote:
Originally posted by Locoh8u
No, I know i can make a moving unit become a non moving unit, but i want it to turn to face it's opponents when firing, not just attack whichever way the building is facing.


Hello, see it's all about explaining and intelpleting ploblem collectly :)

Well Bonsai no think is possible, because Bonsai also tlied something like that. Only wolks when you cleate unit to set point unit is looking. Then again wolld no lesolves alound Bonsai, so othels may have solution
:foot:
02-24-2004, 07:08 PM#6
Shimrra
Try setting the unit's movement type to none and movement speed to zero.
02-24-2004, 07:12 PM#7
volatile
use morph unit and make a unit exactly like the old unit that has 0 movement speed (leave the turn on) also, give it an attack like the tower you want. When it morphs it will morph into the other unit (not a building!) but it will look like a building with 0 movement speed and be able to attack and turn in all directions. I'm not sure if a building will turn unless you pick a NE building :/
02-24-2004, 07:14 PM#8
Newhydra
Actually, I would advise against using movement type none. That will allow the unit to walk over anything and everything, including boundary. Of course, with the movement speed of 0 it won't matter, but...
02-24-2004, 08:01 PM#9
xXEarth-FuryXx
root ancient protector. allow units to rotate when rooted = true.
02-24-2004, 08:37 PM#10
LegolasArcher
Thats because it has a bone called "turret" which the WC3 engine autmoatically makes it face targets when fireing.
02-24-2004, 08:44 PM#11
Aznwhore
either no movement or u can try to use the ancients...at least for the base model...
not sure, the ancients were always confusing
02-25-2004, 02:53 AM#12
Locoh8u
I was thinking of maybe something such as (just a rough example to hopefully explain what i mean)


Trigger:

Events -
Unit - (Non-Moving-Unit-Tower) is attacked

Conditions -


Action -

Unit - set (Non-moving-unit-tower) movement speed to 1
wait 0.10 seconds
Unit - set (Non-moving-unit-tower) movement speed to 0

But that don't work, so i'm hoping maybe somebody out there with abit more knowledge then me can maybe give me advice on making a trigger to do something similiar to that, if it is possible.


Edit: Or maybe it's even possible to make the unit have movement, but Hold Position no matter what?
02-25-2004, 06:35 PM#13
Chewy_Gumball
I don't know if this will work but u could make a unit with a tower model and a tower attack and then use triggers to make the unit immovable but able to attack and if the unit doesn't face to attack you could also use triggers for that. Personally I think the the tower models weren't meant to turn so I don't think they will no matter what you do (unless you make a new model).