Staredit Network > Forums > SC2 Assistance > Topic: Modify height of a unit
Modify height of a unit
Aug 8 2011, 1:06 am
By: Ahli  

Aug 8 2011, 1:06 am Ahli Post #1

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

I want to raise a newly created unit out of the ground.

I've tried it using behaviors only. -> Fail, behaviors can't have a negative height modifier

I've tried using a behavior that lowers the unit at start and raises it afterwards. -> no height change (wtf?!)
(To be exact, I've used 2 behaviors for that, but the height effects aren't )

I've already had huge problems with raising and letting a unit fall down with a behavior and modify height effects. With a workarounds (e.g. apply modification a 2nd time) I could make it work.

Even the trigger action modify unit height can't sink a unit into the ground...

BUT is there a way that makes the data stuff work like it should work?

I guess this is a bug on Blizzard's side. The unit's raise & fall started to bug when Blizzard applied an item's height "fix".




Aug 8 2011, 1:13 am DevliN Post #2

Woah

You can make the unit's height a negative by default, in the Data Editor. Then use triggers/behaviors to add height to it, giving it the illusion of coming out of the ground.



:devlin: Currently Working On: :devlin:
Myself

Aug 8 2011, 10:54 am Ahli Post #3

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Quote from DevliN
You can make the unit's height a negative by default, in the Data Editor. Then use triggers/behaviors to add height to it, giving it the illusion of coming out of the ground.
That is what I have to do now. :(

The sinking won't be visualized, if the heigth is below the ui heigth. But you have to raise the unit back to normal level even if the sinking isn't visual.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:24 am]
anoeth47 -- Sie_Sayoka >>> Thanks!!! Got the png's to show up in Map Showcase
[2026-4-22. : 10:20 pm]
anoeth47 -- Sweet
[2026-4-22. : 7:48 pm]
NudeRaider -- https://staredit.net/381642/ really makes you appreciate (again) how good sc music is.
[2026-4-18. : 3:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[2026-4-17. : 4:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[2026-4-17. : 11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
Please log in to shout.


Members Online: City, anoeth47