• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Unit keeps returning to one spot after moved

Status
Not open for further replies.
Level 12
Joined
Apr 15, 2008
Messages
1,063
Hi, I have a slight problem in my most recent map. I use SetUnitX/Y to move units around, but for some reason they keep returning to their spawn location (they move only SetUnitX/Y the entire time). They start moving back when they get too far (can't say exactly how far that is, sometimes it affects units differently.
The units keep their position and facing properly
attachment.php

Formation totally fell apart, units are all facing spawn point and trying to move there
attachment.php
 

Attachments

  • scrnx1.gif
    scrnx1.gif
    11.9 KB · Views: 140
  • scrnx2.gif
    scrnx2.gif
    11.3 KB · Views: 163
Level 14
Joined
Aug 31, 2009
Messages
775
Ah, it appears to only work on Computer Units, but for that purpose, it's a good function.

There's even a
  • AI - Ignore the guard position of all units owned by (<Player>)
So you don't even need to pick unit groups and stuff.
 
Status
Not open for further replies.
Top