1. Head to the 33rd Modeling Contest Poll and drink to your heart's desire.
    Dismiss Notice
  2. Choose your means of doom in the 17th Mini Mapping Contest Poll.
    Dismiss Notice
  3. A slave to two rhythms, the 22nd Terraining Contest is here.
    Dismiss Notice
  4. The heavens smile on the old faithful. The 16th Techtree Contest has begun.
    Dismiss Notice
  5. The die is cast - the 6th Melee Mapping Contest results have been announced. Onward to the Hive Cup!
    Dismiss Notice
  6. The glory of the 20th Icon Contest is yours for the taking!
    Dismiss Notice
  7. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

making unit able to walk throught other units

Discussion in 'World Editor Help Zone' started by emil23, Oct 17, 2020.

  1. emil23

    emil23

    Joined:
    Jul 17, 2013
    Messages:
    405
    Resources:
    1
    Maps:
    1
    Resources:
    1
    is it possible to make it so a unit can go throught other units? i have been looking at other threads

    i have seen answer about windwalk, the problem is i dont know if hero will always manage to use windwalk, he can be stunned sometimes. more over the windwalk changes the way hero looks. it gives him the art transparency effect and i dont really want it


    the invisiblity from soccer doesnt allow you to go throught other units, it just makes unit invisible


    adding ghost ability to units, i dont know really i have a lot of units, i would have to create temp groups near the target to add ghost ability to all units then remove ability, and if units walk too far then ghost ability might not be removed from them.

    i cannot turn off colission for unit because then he can walk throught tress and cliffs and i dont want that i just need a way to make unit able to walk throught other unit.




    if you need to know what i need it for then its for knockback, if unit X is knockbacked while unit Y is behind him then unit x will be stuck and wont be moved because unit Y is blocking him.

    that could be solved by adding walkability checker and turning colission for unit off, but the problem is that i dont really trust walkability checkers, the one is use is bit buggy and it sometimes throws units into tress but hardly ever, maybe some 1 could share a proper walkability checker?
     
  2. DoomBlade

    DoomBlade

    Joined:
    Feb 5, 2018
    Messages:
    261
    Resources:
    0
    Resources:
    0
  3. emil23

    emil23

    Joined:
    Jul 17, 2013
    Messages:
    405
    Resources:
    1
    Maps:
    1
    Resources:
    1
    this one causes inflite loop in my map and crashes my map
     
  4. DoomBlade

    DoomBlade

    Joined:
    Feb 5, 2018
    Messages:
    261
    Resources:
    0
    Resources:
    0
    You propably then have trigger/triggers that interfere with it. I have used this for a long time and never had any issues.
     
  5. masih_julius

    masih_julius

    Joined:
    Aug 14, 2020
    Messages:
    89
    Resources:
    0
    Resources:
    0
    fly,,,,flying units with no height they can pass other units but cliff as well,I think u should use triggers
     
  6. emil23

    emil23

    Joined:
    Jul 17, 2013
    Messages:
    405
    Resources:
    1
    Maps:
    1
    Resources:
    1
    i cant really find reason of it, if i give it to only few starting units then it never has any issues, but when i give it to mid or late game unit it errors, i think it will be simplier to use other system



    maybe have u got good walkability checking system then?

    Raging Slam v1.10 i need this spell but it allows units to go to tress or out of map
     
  7. masih_julius

    masih_julius

    Joined:
    Aug 14, 2020
    Messages:
    89
    Resources:
    0
    Resources:
    0
    use ghost ability with jass,do u have knowledge of jass?
     
  8. [db]east

    [db]east

    Joined:
    Feb 27, 2019
    Messages:
    128
    Resources:
    0
    Resources:
    0
    Why do you want knockbacked units to move through other units? It makes sense to me that they shouldnt be able to move through other units. If a unit gets stuck as you say then the issue seems to be with the knockback system.
     
  9. emil23

    emil23

    Joined:
    Jul 17, 2013
    Messages:
    405
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Nope

    If unit y is behind unit x. The road of unit x is blocked and he cant be knockbacked. Its a 3d knockback so IT would mąkę sense for him to be able to go over other unit. In my map theres also a lot of units so if units can block eachother from knockback then knockback is pointless IT wont happen often. Note this issue is only there if i dont turn off pathning of unit.


    When i turn IT off unit can get inside Teress. I dont have any good walkability system and idk really how to add
     
  10. [db]east

    [db]east

    Joined:
    Feb 27, 2019
    Messages:
    128
    Resources:
    0
    Resources:
    0
    I see. That makes sense. The options I see is adding crow form ability and have a system to check for pathability, add ghost ability to nearby units then remove it when not needed or try another system. So nothing new really. I will be pretty busy so probably cant try to give any ideas for such a system.