• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

arrays

  1. HellCEzAR

    [Spell] Solve MUI problem with arrays

    Hello everyone! Making a common spell, which locks the target in cage and damage him, ill made some arrays to make it MUI, but i cant solve my problem. Can u give me the answer, why MUI wont works? Do not focus what do a spell, i need to know, why mui not works. Ty
  2. Rahko

    [Solved] Alternative to multidimensional arrays

    Hey! It's been a while since I coded for Warcraft III (or in general, for that matter), thus my brains are a bit scrambled right now. I am trying to make a simple inventory system that changes all the items for multiple pages of the inventory. I got it working, actually, as I just brute forced...
  3. Death Adder

    [General] Can you use 2D arrays without setting array sizes?

    Title. I know one of the arrays will never go over a certain size, so that's not an issue. But the other one could theoretically max out. Now I could just pick a large enough number that will most likely never occur in any game, but I'd rather not if given the option. Speaking of which...
  4. Peach Schnapps

    What are the differences in MUI setups?

    From what I’ve read there’s multiple ways to go about setting up an MUI spell or “system”, using an array, using hash tables, I’m just curious are any of these considered the optimal method? Are there draw backs to any?
  5. jonhysone

    Looking for a similar function of JASS in Python

    Hey guys, I've recently been interested in learning Python, and even got a paid course for it from Udemy, and it's been great so far, I noticed there are so many similarities between JASS Syntax and Python, and I'd not be surprised if that were the case for any other programming language out...
  6. TheFireMage

    [General] Localize an array in GUI

    Hello everyone, Like the title said, I want to localize an array variable in order to avoid too many variables because it's getting messed up. Thank you.
  7. cobalte

    [Trigger] Reference the value of an array index

    Is it possible to retrieve the index of an array? For example, if you have a Unit Group Array of 100 Unit Groups, and I select a unit on the map, is it possible to call a function that would return the index of the unit group that is selected? I.e., selecting a unit from UnitGroupArray[40]...
  8. Nazujin

    Array question...

    How do i make an array of arrays? i want to make a list of arrays, listofarrays[1] = array1; listofarrays[2] = array2; listofarrays[3] = array3; array1 [1] = unit x; array1 [2] = unit y;; array1 [3] = unit z; so i can know the player and the unit of the player without conditions... plase HELP!!!
  9. Recklessness

    Flame Nova ability not working properly

    Essentially, I am trying to create the following spell : Flame Nova: Cause a nova of fire to explode outwards from the targeted area dealing (1.5 x Intelligence) damage to all units caught within. Additionally, units caught within flame nova are set Ablaze and will explode after 3 seconds...
  10. AquaFire

    [General] Destroying a Specific Index "[ ]" of a Variable with Custom Script?

    Hi Everyone, At the moment, I am making a Hero RPG with customizable spells. However, I ran into a problem with memory leaks. I am using a UnitGroup[ ] Variable so that there is the same number of indexes as there are total players (9 in this case). I am doing this because I need to account for...
  11. BETA

    [Solved] Difference between non-array variables and array variables.

    As the title implies, what's the difference between a variable without an array and a variable with an array? Without arrays: Without Arrays Events Conditions Actions Set CasterLoc = (Position of Triggering unit) Set TargetLoc = (Target point of ability being cast) With arrays...
Top