Search results

  1. Azlier

    So I think I just made the first user made custom map

    So I think I just made the first user made custom map. Yay me. And I don't even have the beta. :rolleyes: Anyway, I can say that I like how Galaxy has freeform globals and libraries. That's pretty much everything I need right there.
  2. Azlier

    Snippet AIDSZinc

    Yeah it's in case Zincies want to use AIDS structs. Of course, requires AIDS. //! zinc library AIDSZinc requires AIDS { /* AIDSZinc - by Azlier Simply a Zinc AIDS struct. For you Zinc addicts. Treated exactly like an AIDS struct, but must be implemented via //! runtextmacro AIDSZinc()...
  3. Azlier

    I broke something... again

    **Da sovietled.** Right. After my first battle with the horrible av.exe virus, I was victorious. So now I caught it again. Ugh. These drive-by viruses are the annoying. So I went into the registry and found some key for av.exe. Being the fool I am, I deleted it. Now every time I try to use a...
  4. Azlier

    Harvest?

    Never seen a script that detects when units return resources to a town hall, sadly. Worthy of being a resource? Well, you tell me. Well, this does so. But it has these flaws: The town hall that the resources were returned to cannot be gotten accurately. It cannot get the object which the...
  5. Azlier

    Comments on yet another timer "system"?

    It seems that everything but zero second timers has been done in the best way. TimerUtils handles low frequency timers, T32 handles high frequency "timers". Is this any good? // OnZero, by Azlier // OnZero simply runs a function after zero seconds in the most efficient way possible. // The...
  6. Azlier

    System DayNightEvent

    A script that detects when it turns day or night. DNR will be requiring this. Detects moonstones and other nonsense. Requires Event. //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // ~~ DayNightEvent ~~ By Azlier ~~...
  7. Azlier

    Perfect IsUnitAlive

    Whaddaya know. Blizzard provided it for us. native UnitAlive takes unit id returns boolean Just paste that into your map and you're good to go, if you have vJass that is. It recognizes dead units with increased health as dead. Go Blizzard!
  8. Azlier

    Snippet DayNightRequirements

    This little script lets you easily create abilities that only work at day or at night. Just follow the unusually complicated import instructions, and you're good to go. Simply adding a dummy to an ability's techtree requirements will make it day or night specific. Requires DNE. library DNR...
  9. Azlier

    Snippet OnChat

    I don't know about you guys, but I am tired of writing the exact same Init function twenty times. EDIT: Why did I give this the [System] tag? library TriggerRegisterOnChat //TriggerRegisterOnChat takes these arguments: // Which trigger you are registering for, the string you are registering...
  10. Azlier

    System Language

    Have you ever wanted an RPG map where NPC's that spoke different languages exist? Well, if you define the words, this script can translate English into your language for you. These languages must follow English grammar rules. First, here's the script for translating English -> Language. This...
  11. Azlier

    String Parse Error

  12. Azlier

    Snippet PrintOrders

    A simple debugging snippet that I get tired of rewriting for every map. When a unit is issued an order, it prints some order data. It will print the order ID in hex if it's a normal order, in ASCII if it's a rawcode. It also displays the type of order, the unit that was issued the order, and...
  13. Azlier

    Snippet AutoFly

    This simple, efficient script makes it so that SetUnitFlyHeight automatically works on the units in your map. It should be more efficient than adding and removing Crow Form each time a spell is cast. ;) // AutoFly - by Azlier // Requires a vJass preprocessor // How to import: // 1. Create a...
  14. Azlier

    Snippet ResetTooltips

    Some abilities don't reset tooltips properly when leveled up via triggers. Charge Gold and Lumber is known to do this. I should be updating this soon. // ResetTooltips - by Azlier // Requires NewGen // How to import: // 1. Create a new trigger called ResetTooltips. // 2. Convert the...
  15. Azlier

    Pings/Flares/Whatchamacallits

    So. Can you use ForceUIKey to bring up the ping point targeter? Can you detect a ping, and get the X/Y? These are things I want to know. I'd figure it out myself, but I don't have WC3 at the moment.
  16. Azlier

    GetSavingPlayer(), Testers Needed

    So, now that I've gone totally insane, I would like one more thing to be tested. Online (LAN or Battle.net doesn't matter) would be nice, because I want to test if this desyncs. Or works at all. Save the game, it's supposed to display the name of the player who saved it. If you get syntax...
  17. Azlier

    PrintDelayList, Testers Needed

    Does anyone feel like testing something for me? Also, try to fix any silly syntax errors if they pop up. I hope for someone to test this on Battle.net. This should print a list of players' names, along with how much delay they have (in seconds). The thing I'm looking for is if it shows a...
  18. Azlier

    Snippet GetHost 2.0

    This gets the host of a game. Remember that rather unreliable game cache syncing version? This is faster, and possible more reliable. But, GetHost does not work on Map Initialization. Using TriggerRegisterHostDetected will fire any triggers registered to it immediately after a host is found...
  19. Azlier

    Snippet No Single Player

    This little cheat will disable single player on your map. You can still play alone on LAN or Battle.net, however. First, download the model attached to this post. Next, import it into your map. Finally, add call Preloader("war3mapImported\\Model.mdx") into any Jass function/GUI trigger...
  20. Azlier

    Snippet GetPlayer

    Everybody loves the Player native, right? Well, this is faster. And it doesn't crash when you provide invalid integers. Also includes LocalPlayer, which is magic. How magical. library GetPlayer initializer Init globals private player array Players private player theLocalPlayer...
Top