HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Attach units to attachment points?

04-08-2007, 04:12 PM#1
Brash
is it possible to have a unit stick to another unit like it had glue on it and anything it touched it got stuck to? maybe to the attachment points of the main unit? is it possible to attach a unit to another units attachment points?
04-08-2007, 04:27 PM#2
Earth-Fury
It is possible to attatch a unit model to another unit, but not a whole unit. (atleast, not without scripting a complex system to do it)
04-08-2007, 04:37 PM#3
Brash
Quote:
Originally Posted by Earth-Fury
It is possible to attatch a unit model to another unit, but not a whole unit. (atleast, not without scripting a complex system to do it)

do you know of any systems that exist that i can reference?


if i didnt use a unit, is it possible to change how a model looks while attached or does it only look like the default way it was originally made?
04-08-2007, 04:43 PM#4
Earth-Fury
im almost certain attatched special effects are un-modifyable.

As for scripted systems... I need more information o nwhat you actually want to do. What is the over-all effect you're trying to achive?
04-08-2007, 04:44 PM#5
Jacek
just give locust to the unit and in periodic trigger set attached unit location to main unit location x.x
04-08-2007, 05:30 PM#6
Brash
Quote:
Originally Posted by Earth-Fury
As for scripted systems... I need more information o nwhat you actually want to do. What is the over-all effect you're trying to achive?

Well, i have this one unit that is quite big.. it is the main unit. When i cast an ability i want all of the little units that look similiar to him to walk over and then hop onto different parts of him so that he is carrying them. lol

then when i recast they will all leap off or at least drop off near him

sorta like a transport except i want them physically on him and not inside of him.


Quote:
Originally Posted by Jacek
just give locust to the unit and in periodic trigger set attached unit location to main unit location x.x

give them locust? locust doesn't seem to be one of those abilities you can apply mid game.
or at least i've tried once in the past with another spell.
04-08-2007, 07:26 PM#7
blu_da_noob
You can add locust mid game with JASS. It seems what you're looking for is something which constantly moves your units to the position of your main unit offset by a little bit to make appear at a certain body part. Periodic timer movement stuff.
04-11-2007, 04:35 AM#8
Brash
Quote:
Originally Posted by blu_da_noob
You can add locust mid game with JASS. It seems what you're looking for is something which constantly moves your units to the position of your main unit offset by a little bit to make appear at a certain body part. Periodic timer movement stuff.


hm, didn't know that jass would allow it. weird that gui doesn't let us use certain abilities.

as for the positioning. i guess that might work. i take it i can't play with the z on that? I'll probably have to do the good ol crow form trick.


is it impossible to simply attach them to attachment points though? it's really too bad cuz i what i really want is to see the units not only follow the main unit around at the places of his various attachment points.. but as he moves i'd like to see them sway with those subtle movements as well. like if the unit is attached to his arm and he swings to attach.. i want that unit to swing along with it.
04-11-2007, 04:49 AM#9
MaD[Lion]
its not possible to attach to attachment points, u cant do tat.
So if u want one to sit on his hand as a unit, u cant make tat, not even with systems. Cus then u have to move it with script so it matches the arm's movement.
1 thing u can do though, u can just make a unit jump onto him, hide that unit when it's close, and just attach a model to an attachment point u want.