Locking Units to Grid

Azrooh

New Member
Reaction score
5
Is there a way to place units so they're snapped onto a grid like buildings instead of 'free-moving'? I want to fill a field with wheat, but it's nearly impossible the way I'm doing it now.
 

tooltiperror

Super Moderator
Reaction score
231
Actually, you could write a code like that if you're up to it, I don't have the time right now. It would involve getting the length of the increments of the grid and then creating locations close to the nearest four points and then choosing the closest one and putting the unit there.
 

Azrooh

New Member
Reaction score
5
To be honest I'd rather spend an hour filling it with wheat, I was just wondering if there was a world editor function I'd been missing.

I think I'll just turn it into a building for the pathing and then turn it back into a unit after the deed's done so it can be walked through.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top