| 05-14-2006, 09:42 PM | #1 |
using the general idea Vile did with creating effects over ground and water, sept i wrote my own, and the effect part doesnt seem to be worknig correctly basically JASS:if GetTerrainType(GetUnitX(u),GetUnitY(u)) == 'Zsan' then set bj_lastCreatedEffect = AddSpecialEffectTarget(Slippery_Ish_WaterEffect(),u,"origin") else set bj_lastCreatedEffect = AddSpecialEffectTarget(Slippery_Ish_GroundEffect(),u,"origin") endif always adds dust, even over the correct terrain type...what gives? full code is in custo mscript section, added this so incase u wanted to test |
| 05-17-2006, 09:33 PM | #2 |
I don't see why its not working. Can anyone help out on this? |
| 05-18-2006, 01:04 PM | #3 |
It is because you don't have any sand tiles on your test map. You have plenty of spaces with the tile 'Sunken Ruins - Dirt', but none with the sand. I added a big block of sand and it showed the correct water sfx while I was on it. |
| 05-18-2006, 02:12 PM | #4 |
ty, told u Karawasa, shoulda tested on ur map, im poo with terrain, I thought i had the correct stuff heh |
