| 06-17-2003, 05:03 PM | #1 |
How can i make so that i only can build near a specific tile or something... I mean like in Wc 1... You know... Where you had to build next to the road... How would i go about that?? Help me plz... |
| 06-17-2003, 05:51 PM | #2 |
Hmm.... You'd probably have to set up the maps with roads and regions along that road... UNless you just wnated to set up the map with bad building areas but good building areas near the road tiles. :) |
| 06-17-2003, 06:00 PM | #3 |
Either you make the blight some other tile (game altering to the max), and then make all of your building buildable on blight only. Oooooor..... You make regions where you are allowed to build buildings and make a certain tile or somehow show where they CAN build. |
| 06-17-2003, 06:05 PM | #4 |
You could do it like this: 1. Make a region running paralel to the road. 2. Make a trigger. 2a.Make a - unit starts constructing - event 2b.Make an - If action - using a Boolan condition that's checking if the trigger unit is with in a region at the road. (If it's true do nothing if it's false cancel construction and give the player all the gold back) -You could also show a text message and play a sound that says unable to build here). Was it something like that you thought of? If not you could do it by changing some unbuildable-terrain's skin and place it where you want it to be unbuildable. Regards TheZaCrew:D |
| 06-17-2003, 06:43 PM | #5 |
ok... That worked... But now... What if like in Wc 1 you want to be able to build that tile... Are you then able to do so that you can build it and that a region like... Pops up? |
| 06-17-2003, 06:48 PM | #6 |
You can move an excisting region. Maybe you can create a new 1 with jass. What is the tile? Is it a building or is it terrain? And what are your triggers? |
| 06-17-2003, 07:09 PM | #7 |
it is a tile... I have got no triggers yet... That is what im trying to get now... |
| 06-18-2003, 09:58 AM | #8 |
If you make regions where you CAN build, you can create new ones where you ALSO can build. See, if you make regions everywhere else then the road, and make it so that you can build if you are in, but cancel if it's not true (equal to false). Sooo... This way you can create new regions where it suddenly can be built, also. Just my two cents. Regards |
| 06-18-2003, 10:16 AM | #9 |
This is my IDea: A) Create a unit based on a circle of power - then make it look like a road - Some model-skin editing here. B) Now that the road is a unit - make a trigger that doesn't let a building being constructing if it isn't close to a road. |
