Hey, I'm just getting into jass and I'm making a little spell effect in order to learn. But what is bugging me is that I can't seem to figure out how to pass anonymous functions, for example in the code I have
scope AttackSFX initializer init
private function Cond takes nothing returns boolean...
Yet it turned out being played 20 years after its release and will probably be still played another 20 years later :D I come from dynamic scripting languages and seeing the structure and mechanics of blizzard's scripting syntax really makes me think that they didn't put much effort into it. But...
I was looking at some example JASS code and I noticed that users unset local variables at the end of the scopes. That makes me think that JASS saves not only local variables but instances and stuff, which is an outrage. Is it really that bad? What exactly is the problem there? Thanks!
Heya guys, been quite some time now eh. I used to be really interested in making maps back in the day, actually that's how I got started on programming. After a solid 4 years of programming history I believe I posses a bit of knowledge now. I was playing good ol' warcraft yesterday and the...
Ok I just needed to import like 20 heroes from an old map into my new project so what I did is i imported all object data, all triggers and all imported files into my new map from my old one but for some reason the models of most heroes are unloadable idk why, everything else is in order.. Id...
Ok I have trouble with placing an effect I tried attaching it to the 'hand,left' 'weapon' even 'hand' only and it always goes to overhead... wtf?
Special Effect - Create a special effect attached to the hand of (Triggering unit) using Abilities\Spells\Orc\Bloodlust\BloodlustTarget.mdl
There isn't rly much to explane, this is a simple map where you need quick fingers to input text shown to you and get points, there's a hall of quickness where top 20 quickies will be saved with their prefered character model and name and all.
Im having this leaderboard problem, I have 2 leaderboards totally, I'm creating them one after another and setting them into variables but the first one apparently doesn't wanna show up, I tried adding and removing a player just to see if it would show up, still didnt.. Code:
I've always asked myself that question, why does it have an if then else (single) and if then else (multiple) ? I mean when the map is converted to jass it's being read the same way either ways, also, why would someone need an if then else for a single action if you can have multiple? O_o...
Well try stuff out, try changing it, changing the array capacity, as already suggested, try creating a different variable and using it, try setting it in the same function see what does what
EDIT: I'm goin to bed nao, I wish you good luck on fixing your code, will respond back tomorrow if...