• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

indexing

  1. El Saif

    [Trigger] Help me fix my spell indexing

    So, i've been making a spell that to call a group of horsemen to move forward and damaging units. The problem with this is that when i cast another one while the previous is still ongoing, the units i created wont do anything, instead the one i cast before still ongoing and somehow going longer...
  2. Oli

    [JASS] Indexing

    Hello, The problem comes from my lack of knowledge regarding working with indexing, that is specifically, how to get a unit's index within an array(unit array) after setting it and clenase it, or if it is even necessary, as for my way of thinking, it is, because there is no other way to get a...
  3. HerlySQR

    Question about allocate and deallocate

    I see some people tried make this own allocators and deallocators to recycling structs, but doesn't the JassHelper already recycle them? Is something that still happening and there is something wrong with using that default functions (something strange because in that case the creator would have...
  4. Peach Schnapps

    [Solved] Pretty please help making GUI dummy/buff system MUI?

    Trigger Events Player - Player 1 (Red) types a chat message containing test as An exact match Conditions Actions Set VariableSet Hero_Group = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Hero)) Unit Group - Pick every unit...
  5. 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]...
  6. Ricola3D

    [Solved] A way to know what Warcraft III version executes the map ?

    Edit: solution in the following post Detect Game Version (GetPatchLevel) Hello, I just discovered that my map works fine with Warcraft III 1.30.4, but not with Warcraft III 1.31. The problem is on function "Unit - set base damage", aka BlzSetUnitBaseDamage in JASS. I use it to increase the...
  7. Uncle

    [Solved] Issues with loops (Indexing something inside of the same loop)

    Found the issue to be something else entirely and this was a big waste of time hehe.
  8. JC Helas

    [vJASS] I Use Struct for Indexing

    I need your suggestion and thoughts if this kind of indexing is not bad. probably I have to privatize the struct because they might have the same name of the others. should I prefixed my structs? is there a way to use a private struct? library thunder initializer init/*By JC Helas*/ globals...
  9. Maker

    [Trigger] Why dynamic indexing is flawed and people should use linked list instead

    This is aimed at GUI triggerers mostly, since in vjass we use linked lists mostly already. But in GUI, almost everyone uses dynamic indexing and I will show you why it is flawed. Here are examples of dynamic and non dynamic indexing. They have similarities, both work like this. When a...
Top