Unit Height

ShadowInTheD

Active Member
Reaction score
12
What's the best way to change a unit's height?

Also, can a unit be "lowered" into the ground by changing height negatively?
 

Narks

Vastly intelligent whale-like being from the stars
Reaction score
90
You have two options:

[ljass]call IssueHauntOrderAtLocBJFilter()[/ljass]

or you could just look at this: http://www.thehelper.net/forums/showthread.php?t=139729

EDIT: No, you can't sink units into ground. Well, you can with some haxed up Impale model (the spell is floating around here somewhere if you want to look at it).
 

ShadowInTheD

Active Member
Reaction score
12
I don't understand... I thought there was a function that DID it, and it wasn't IssueHauntOrderAtLocBJFilter()...
 

Narks

Vastly intelligent whale-like being from the stars
Reaction score
90
[lJASS]SetUnitFlyHeight[/lJASS]

this

EDIT: You use SetUnitFlyHeight to set the height of a unit. To make this work on ground units, you need to add and remove Crow Form to the unit. Azlier's AutoFly script will automatically do this for you.
 

ShadowInTheD

Active Member
Reaction score
12
I tried that on flying units, and it didn't change their height at all... and added crow form on ground units, didn't work either.
 

GoGo-Boy

You can change this now in User CP
Reaction score
40
If you want a unit to be under terrain it needs to have movement - type: foot
and a negative fly height and negative max fly height. Or maybe just the latter one dunno.

Well and then you do add / remove crow ability and you can place it under earth :)
 

Komaqtion

You can change this now in User CP.
Reaction score
469
and a negative fly height and negative max fly height. Or maybe just the latter one dunno.

No, none of these are needed, as Max Flying Height is only for Max, which is positive meaning that it can still be negative ;)

What Ice_Snake has there should be enough ;)
 

Viikuna

No Marlo no game.
Reaction score
265
You only need to add and remove that crow form ability once per unit. Theres no reason to do it all the time. Actually its kinda waste.

You cant move units underground, but you can create unit which has negative initial fly height and it appears underground. However once unit is moved to the surface, it cant go back underground nomore.

Theres also some cool methods to fake this underground stuff. I myself did this by using Impale for my Quicksand spell, which can be found from Spell Section.
 

ShadowInTheD

Active Member
Reaction score
12
Doesn't matter what the flying height is... It never changes. I also tried changing fly height of a gryphon, that didn't work either.
 

PrisonLove

Hard Realist
Reaction score
78
sorry to sort of hijack this thread, but what's this?: [ljass]call IssueHauntOrderAtLocBJFilter()[/ljass]
 

Azlier

Old World Ghost
Reaction score
461
That function tells whether an enumerated unit is a gold mine or not. If so, its sister native tells the ordered unit to go haunt it.

Doesn't have anything to do with this thread though.
 

Narks

Vastly intelligent whale-like being from the stars
Reaction score
90
To make people ask questions like that.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top