| 07-16-2006, 05:38 PM | #1 |
I want to get it so that i can put a custom terain fog like in map options (not a preset fog as a weather effect) that is only on a region. This is what i have so far, but it wont work, can someone fix the coding for me? call SetTerrainFogExBJ((gg_rct_Region_000)( 0, 1000, 8000, 0, 100, 100, 100 )) Once i get the coding right, then i will do the fog right, but for now, i need the trigger to actially work. |
| 07-16-2006, 06:05 PM | #2 |
You mean stuff like a dense red fog? Unless i am missing something, you can't. The function you are posting doesn't let you assign a region as the first parameter. Wha you can do is changing the fog everwhere when an dummy unit loctaed in the region you want is visible. Once the player doesn't see that unit, change the fog back. Eg. |
| 07-16-2006, 08:26 PM | #3 |
I need it for a multiplayer map though, so that would not be the soloution. I am trying to get an effect such as in water war. Maybe if there was a way to make that trigger work only for a certain player, though, then i could do it. I will look around the site for some sort of tool that might help, but there is probably a way to do it with jass without a tool. |
