Need help for this region

mute

New Member
Reaction score
2
i create region and i want to make it all units from player 12 can't enter this region just pass around .
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
613
You can use pathing blockers, or make a periodic trigger that moves units out of the region if they belong to player 12.
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
Trigger:
  • Periodic Remove Units
    • Events
      • Periodic Event - Every 0.03125 seconds
    • Conditions
    • Actions
      • Set Temp_Group (unit group variable) = Units in [Your Region] matching (Owner of (Matching unit) is equal to Player 12)
      • Unit Group - Pick Every Unit in Temp_Group and do actions
        • Loop - Actions
          • Set Temp_Point (Point variable) = Position of (Picked unit) offset by 16.3125 towards (Facing Degrees of (Picked unit) + 180)
          • If (Conditions), Then (do Actions), Else (do Actions)
            • If (Conditions)
              • Temp_Point is in [Your Region]
            • Then (Actions)
              • Set Temp_Point = Protection_Point (this is another point variable set at map initialization to a position that you want units to be moved to if they arent moved out of the region)
            • Else (Actions)
          • Unit - Move (Picked unit) instantly to Temp_Point facing (Unit Facing Degrees of (Picked unit))
          • Custom Script: call RemoveLocation(udg_Temp_Point)
      • Custom Script: call DestroyGroup(udg_Temp_Group)
      • ----------- CUSTOM SCRIPTS ARE CASE SENSITIVE -----------
 
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