• 🏆 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 POLL is now OPEN! Check out the stunning visuals of the final entries. 🔗Click here to cast your vote!

global

  1. Benpai

    [Solved] Global variables in Jass

    I have the Spell from Carnerox and want to add global variables, but I don't have that much experience with Jass. I want to write the healed value in global variables but I have no idea how. Can anyone help me? It is about the following variables: set udg_MB_Healed[0] = (...
  2. Uncle

    Creating global variables in Lua (and some other Lua questions)

    Edit: I figured out my problem and managed to get the global variables and multi-dimensional array to work. However, this brings up a new question. Is there a way to set the default values of these Arrays to be 0 instead of having to manually set every single one to 0 like I do below? I don't...
Top