HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Problem with Rolling Boulder

03-08-2005, 12:17 AM#1
Kam
Rolling Boulder moves structures and neutral buildings. I figured out that it does this because it never says to disclude structures in the knockback effect of the JASS code, so I added it. I then got this compile error, and I can't figure out why.



Oh, and here is the script I edited.

---
03-09-2005, 09:45 PM#2
Vexorian
I remove the thing because it was my whole spell's trigger. I don't think that's right.

It would have been easier if the image was bigger and in jpg or gif format.

But the error was that you make the options function again, do you think JASS is magical? that wouldn't work.

You have to modiffy the options function, you can't just create another one because it gives errors and even if it didn't give errors it wouldn't do anything.

My suggestion is to replace UNIT_TYPE_FLYING in the damage exception to UNIT_TYPE_STRUCTURE then add a +DamageOnlyTo(UNIT_TYPE_GROUND) , this is not going to work correctly with amphibious units, I'd like to blame blizzard for that, but in case you want it to work on amphibious then you can make an ability without icon called Boulder immunity that is added to all the buildings and Use the Damage option that uses abilities , check the caster system's readme for that cause I just forgot about their names, make them change the factor to 0.
03-09-2005, 11:57 PM#3
Kam
Well no I don't think its magical, but I took Java so I thought they might be similar. It isnt the damage I want to change though, it is the knockback effect. Atleast it looked like they were different fields, not sure though. The problem is that it moves buildings and gold mines, you can imagine how this would be a problem. Would I do the same thing with that?
04-01-2005, 02:51 AM#4
Kam
In the new version everything seems to work correctly, except that when the boulder falls off of a two units high cliff into water it keeps going. It's really annoying.