W
Wx2
Guest
How do i make a region like a pathing blocker so things cant walk or fly into it but they have to go around?
Set Region = Region 000 <gen>
For each (Integer A) from ((Integer((Min X of Region))) / 10) to ((Integer((Max X of Region))) / 10), do (Actions)
Loop - Actions
For each (Integer B) from ((Integer((Min Y of Region))) / 10) to ((Integer((Max Y of Region))) / 10), do (Actions)
Loop - Actions
Set Point = (Point(((Real((Integer A))) x 10.00), ((Real((Integer B))) x 10.00)))
Environment - Set terrain pathing at Point of type Any to Off
Custom script: call RemoveLocation(udg_Point)