Block units

EoW.chips

New Member
Reaction score
2
Hey,
i got a question, is it possible to block an unit if it wants to enter a region ?

The idea is, if more then 2 players are already in that region, the entrance of it should block other entering allied units.

Any ideas how to make this ?
 

tommerbob

Minecraft. :D
Reaction score
110
Sure. When your unit enters the given region, save his position in a point variable. Then every X seconds check what his location is. If it is inside the region, move him back to the point. Something like that.
 
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