• 🏆 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!

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