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...
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...
I simply wanna ask if this piece of code leaks, because I'm not rly familiar with the line im using, have I set it correctly? Does it leak?
Actions
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units in (Playable map area) matching ((Unit-type of...
Duh, alright what I'm tryina do is allow my units to only have 1 weapon (item level 8) but it's driving me crazy, I don't see where I'm doing wrong but my code is messing up terribly, it works fine untill I try to pick up a weapon while having one, then it displays the text that I already got a...
Alright so I have this destructible which is supposed to be attacked and increase the player's stuff but apparently it's unable to be attacked/patroled, althought able to move to, i mean when I try to attack or patrol on it, it targets the point, but when I click on move and then the...
So first I wish to know how I can set a unit's damage to 0-0 without making it unable to attack, it is not impossible i've seen that.
second - how do I downgrade an upgrade? Lets say i've done thatPlayer - Set the current research level of Iron Forged Swords to 2 for (Owner of (Triggering...
Alright this is basically a teleporting system using regions, but it isn't working for some reason, I'll only post the part that's not working:
InteriorsInEnter
Events
Conditions
((Triggering unit) is in InteriorsGroup) Equal to True
Actions
Game - Display to...
Alright so I have this problem, I've recently been using version switcher to switch versions of my game, the problem's that when I switch back to .21 and try to edit any map it gives me those thousands of errors, althought .24 functions are missing, how can I fix that crap so it works on 1.21...
Ok so I have this question like if I start making a map in 1.24 and then try to open it in 1.21 it messes up and starts givin me errors blabla, would it work if I modify my map in 1.21 and then try to edit it in 1.24 ? Or another thing, if I create a map in 1.24 without using any 1.24 features...
Holy Destruction
By Manix
MPI - Yes
MUI - Working on it O_o
Screenshot:
Codes:
Other:
I would like to point out that there were no custom models used in order to make the spell look so wow :P
I'm guessing most of you, just like me, never thought of that like What does Jass rly stand for and why is it called like that? Well find out yourself :D
Hi there,
I've been tryina figure what kinda map I should make, and obviously I'm too lazy to start a RPG or AoS kinda thing so I've decided I shall make a minimap/mini-arena. Problem is I'm out of ideas, any ideas are welcome and will probably be +rep'd
Jump
Events
Player - Player 1 (Red) Presses the Up Arrow key
Player - Player 2 (Blue) Presses the Up Arrow key
Player - Player 3 (Teal) Presses the Up Arrow key
Player - Player 4 (Purple) Presses the Up Arrow key
Player - Player 5 (Yellow)...