| 11-15-2004, 08:28 AM | #1 |
Is it possible? I would rather not use a million reigons but rather use the terrain values of difrent ares as reigons themselves. is it possible? I dont know JASS, but i can trigger fairly well. any help would be greatly apreciated! -Garith |
| 11-15-2004, 09:22 AM | #2 |
Well you can take a point (Let's say middle of the map) and do offsets from that, you can check the offsets with the mouse (The values change while you move it across the map, should be down in the left corner). I guess that's what you're asking? |
| 11-15-2004, 11:53 AM | #3 | |
Quote:
lol. well.. no. Every terrain palate has a numerical value see, and i wanted to make those numerical values into reigons on the map without making a reigion for every square i place. i doubt is possible, but then again i thought i'd ask. anyone got any uber-bright ideas? -Garith |
| 11-15-2004, 12:37 PM | #4 |
I dont know if the way your asking is possible but i dont know JASS so i cant say, but you could do the polar offset way or just place a bunch of units, set their points to a variable then remove them. |
| 11-15-2004, 02:32 PM | #5 |
That's pretty much what I told him. You can't get a tilevalue, but you can use offsets, which is the same thing. I guess that IS what you're asking. |
| 11-15-2004, 10:47 PM | #6 |
Actually it's not really.... See, in my game, i need my unit to gain an ability. I.E. When my unit steps onto a grass tile, he gains this ability called "Pick Grass" now this is easy with reigons, but inconvinient to make a million reigons and individual trigers for them all when i gould use terrain values to make it more acurate and fancy. because of this, i dont think polar offsets would do the job. Thanks anyway--- keep those ideas coming! anyone know JASS? -garith |
| 11-16-2004, 02:03 PM | #7 |
You're not listening are you? You can pick offsets of the whole map (THIS INCULDES GRASS AREAS). You can make round and squared simulated regions. However you can not do a twisted region that looks like a car or a banana. Not gonna happen. |
| 11-16-2004, 07:29 PM | #8 |
just to make things clear: jass is not a way to get everything done in wc3. Jass just has some more functions blizzard didnt want to add to gui because it would not be nice for beginners cause they would not understand what the function really does. So if there is no gui trigger function to check what tile the terrain has (which there is not) then you cant do it in jass either. |
