1. If you turn off a trigger, it will run until the end of it's actions, so you need to use it along with "Skip Remaining Actions".
2. You need to use JASS natives to play any animation that is "special". To do this, you would need to use custom script and write in
Custom Script: call...
Well, I wasn't trying to say either way is better, because I have never made a maze. I was just trying to get accross that while abilites may be a better choice for many things, they aren't magic and they do have coding behind them, so coding your own abilites can work the same way, and...
I would say sign me up for C++, but I'd be biting off more than I could chew since I'm not grand master godly and couldn't do the whole thing myself. Plus it would mean I would have to forsake my other projects :o
Good luck though, and remember to start simple and get something working...
I always wondered...can you run an AI script for a user controlled player and have the computer handle your units? (I don't mean making an AI with triggers, because you can obviously do that)
Why so many tutorials? Some of them are nice, but a Regions tutorial...seriously?
I was playing with regions and making triggers with them within a few minutes of opening WE for the first time :P.
Should be more like a "Palette Tutorial" that incorporates everything (cameras, regions...
I like it, but maybe you should have named it differently. I'm glad more things are using math lately. Looking forward to see the finish.
Just a few little tiny things you could change:
function RadiusOf takes real x, real y returns real
return SquareRoot(Pow(x, 2) + Pow(y, 2))...
You're kidding me right?
What I am getting is that you think abilities just magically happen by themselves. Triggers use code, those abilites use code, you just don't see it. Therefore, triggers can easily become just as acurate or more because you can edit the code directly (not saying Jass...
Why are you still using globals and BJs? To avoid them is kinda the point to JASS...
Also,
set udg_FB_Distance = R2I(2.35)
R2I rounds down meaning you are getting "2" for this, so yeah just thought you should know.
Wazat, I love math, it can get you alot of places, you really can't write a script without it. I'm just saying I didn't expect for people to be more enthusiastic about math than some neat mouse detection :D
And no I don't think I will link here, that's kind of rude, but if you want the link I...
Use terrain type comparison to see if the casting unit is on water. If not, then do something to make it stop, like order it to stop, remove and add the ability fast, etc. You might also want to send an error message to the player saying that he can't cast on land.
Nice, but tedious to read since there are no breakups, it just goes on and on. Try bolding a few words here and there, adding a line break, you know...
Also, I didn't look at the whole thing, but I didn't see a section on how to avoid using slow math functions in triggers too much, or how to...
And after you make it work, you optimize. Preloading effects maybe, using real coordinates instead of locs (no bjs or cleanup). STOP using BJs, reuse locals and take advantage of never used bj_ variables and make the math more effiecient.
In other words, pull out Jasscraft and make this...
Well, I haven't gotten the example done yet, as I've been busy, and because I didn't want to do a (total) half ass I kinda turned it into a full multiplayer game :P But I think I shall finish it soon, it's a neat minigame of sorts which is like the card game Memory, where you must remember...
Dude(ette?) this doesn't work at all. Take it back and fix! Don't use conditions for things you could do in in the if statement. Don't use undeclared variables...argh.
I can't even look at it >_>
:P I can fix for you if you'd like
Ancient Protector :eek:
How about a tower that does nothing but leak out vines that entangle units. But some other towers when they attacked the entangled guys would un-entangle them (fire tower or something).
And towers that have time-of-day specific powers. Attack at night, defense...