• 🏆 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!

[Trigger] Make ground unbuildable

Status
Not open for further replies.
Level 7
Joined
Mar 8, 2009
Messages
360
I want to have a trigger to make a part of my map unbuildable but i don't know the best way to do it , this is what i have now:
  • For each (Integer A) from 1 to 10, do (Actions)
    • Loop - Actions
      • For each (Integer B) from 1 to 10, do (Actions)
        • Loop - Actions
          • Set tempPoint = ((Center of Sep1 <gen>) offset by ((195.00 - (40.00 x (Real((Integer A))))), (500.00 - (100.00 x (Real((Integer B)))))))
          • Environment - Change terrain type at tempPoint to Sunken Ruins - Small Bricks using variation -1 in an area of size 1 and shape Circle
          • Environment - Set terrain pathing at tempPoint of type Buildability to Off
It's not very good since it isn't completely unbuildable.
 
Does that part of the map need to be unbuildable from the beginning of the game or from the certain point?

I think at a certain point.
I'm not shure about an other solution, but you could create some circle of mights (invisible). They were walkable, but not buildable.

I know, it's a bit circular, but I don't know an other solution, atm
 
Status
Not open for further replies.
Top