| 02-09-2004, 04:34 AM | #1 |
Is there a way that i can restrict the placement of the building create from item? I want the building from that item to be only able to be placed at a certain place. Note that there are other buildings already placed in the map. All of the building doesn't require blight to be built on. I discover that blight may do the job for me, but it has two flaw which i decided not to base my idea on that. 1.What if some player dispelled the pre-placed blight? 2.I dont want the blight terrain on my beautiful snow floor. =P Helps greatly needed. Please help me. Thanks in advance. :mtk: |
| 02-09-2004, 05:12 AM | #2 |
Do you have water on your map? If not that could do the trick, create shallow water at the location, make it invisible (via triggers at the map init) and then make the building require "Sea-Pathable" to be build. PS. The reason I asked if you had water on your map is because it is imposible to only make some of the water invisible, you can only do it if you want ALL the water invisible. |
| 02-09-2004, 11:12 AM | #3 |
Oh man, this is sad, my map DOES HAVE water. emote_confused is there another way to solve my problem? |
| 02-09-2004, 12:25 PM | #4 |
Maybe you can make a trigger.. but then it wont show up red as in "you can't place the item here" Actually i dunno exactly the trigger but here goes Events: An item is used Cond: Item being manipulated == your item Cond: Structures in region : the region u wana place the item Equal to 0 // Maybe you should put this in actions after a 0.5 second wait or so so taht the building actually gets time to get placed Actions: Remove unit (last created unit) Actions: Item - Create Item at point - Location of Unit (Unit manipulating item) Edit: some spelling.. not all, but some :> |
| 02-09-2004, 04:57 PM | #5 |
Well, i guess this gonna do it, i'll try this out soon. Thanks for the help, i may reply if i found some difficulties. Thanks again :D |
