• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

units getting stuck and teleporting around

Level 2
Joined
Feb 13, 2019
Messages
6
I am currently testing a map I am making and when testing a hero i realized that eventually units start teleporting short distances and getting stuck and i have no idea what causes it. it seems to happen when i start to attack some enemy units.
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,876
I am currently testing a map I am making and when testing a hero i realized that eventually units start teleporting short distances and getting stuck and i have no idea what causes it. it seems to happen when i start to attack some enemy units.
It sounds like a bad trigger that you've mistakenly imported into your map. You mentioned in another thread that you were experiencing a different issue because of this type of mistake.

Remember, when you import custom spells from Hive there's often a lot of configuration needed to get it working properly. There's also demo triggers that weren't meant to be imported in the first place. It's easy to make a mistake and add something that you didn't need or forget something that you did need.

I'll give you an example. This trigger will cause ALL of your targeted abilities (ie: Storm Bolt) to kill their target:
  • Events
    • Unit - A unit Starts the effect of an ability
  • Conditions
  • Actions
    • Unit - Kill (Target unit of ability being cast)
But we can add a Condition which makes sure that this only happens when we cast our "custom" ability:
  • Events
    • Unit - A unit Starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to My Cool Custom Ability
  • Actions
    • Unit - Kill (Target unit of ability being cast)
However, the above trigger could actually be referencing a missing ability, in which case it'll ignore the Condition and run the Actions.
 
Last edited:
I am currently testing a map I am making and when testing a hero i realized that eventually units start teleporting short distances and getting stuck and i have no idea what causes it. it seems to happen when i start to attack some enemy units.
Likely either a region/rect enter event related problem or too many regions/rects or too many large regions.
 
Top