• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

struct

  1. 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...
  2. DarkMatterShark

    [vJASS] Issue with data retrieval from an object

    My problem is that when I set a variable like set udg_MaxLevel = UnitData[udg_UnitID].maxLevel it sets udg_MaxLevel to 0 when it should set it to 5. library UnitCustoms struct UnitTypeData integer unitTypeID integer experience integer maxLevel integer...
  3. 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...
  4. The_Spellweaver

    [Solved] Wurst: Possible to manually destroy class instances?

    I'm coming from vJass and started to learn some wurstscript because it seemed handy at first. Its syntax is alluring, but very punishing and my bum is hurting already, and errors are very misleading but I'm getting used to it. So I've used to just call .destroy() on structs but here I can't do...
  5. MyPad

    Structs (A rough crash course)

    Introduction to Structs (Part I) (By MyPad) Hello reader. By having clicked this link here, I assume that you want to learn structs, right? Yes, you do, and what a wordy tutorial this would be. What we'll need to have is (either): 1. JNGP or 2. Sharpcraft WEX (for...
Top