• 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.

function

  1. MikeyGuy

    [Trigger] [Map Broken] Looking For Missing GUI Extension/Addon

    Greetings everybody, I know this may sound like a similar thread to others where people lost their maps, but I'm going to throw this out here because it's the only way I have a chance at recovering my old maps. I actually lost access to 3 of my maps I was working on after I merely uninstalled...
  2. darkravenbest

    BlzS2FourCC undeclared

    Hello! I have problem when i use BlzS2FourCC, even if it used via GUI function, editor reference this line with error: "Undeclared function BlzS2FourCC". How to fix this problem? Im currently using pre reforged 1.31 version. Thank you!
  3. xorkatoss

    [JASS] Add Buff Function

    WARNING! Beginner JASSer alert! So with that out of the way, I'm trying to make a bunch of jass functions to use in conjunction with GUI and "AddBuff" is one of them. So my method works BUT I wanted to get some opinions from more advanced users IF there's a faster/better way to execute...
  4. HerlySQR

    [General] Question about libraries

    If I create a function in the custom script code, how can I use it in a library I created?, yes or yes it must be in another library or I miss something?
  5. LittleBoy

    [Trigger] Set Ability Field nothing happened

    Hello everyone, sorry in advance if my english is not good, because I can not speak english (currently I use google translate). I am a new member here, I just want to ask, why when I change the ability field in the trigger editor nothing happens or am I wrong? what I make now is : Ability - Set...
  6. HerlySQR

    Question about "Replace Unit"

    I wanna know what happens when you use the function "Replace Unit"? Did your unit transform in other or your previous unit get hided and apear a new unit?
  7. HerlySQR

    Why Disable ability for player doesn't work?

    Every time I use that function never work, Can you tell me why?
  8. Wrda

    [LUA] Unable to make dynamic filters

    For some reason I can't figure out how to make a dynamic filter/condition so that it can be used for unit enumerations are stuff like that, lua always gives me a vague error "unknown compile error". I've tried endless possibilities and can't wrap my head about it... function A() local b =...
  9. Avatars Lord

    [General] Environment - Change Terrain Type needs space to work?

    Hello, This function was not working properly and I didn't know why: After doing some tests I have found that it needs a space (or you need to have that terrain type in your tileset already) in your Terrain Tileset in order to work and because I have 16 terrain types in my tileset right now...
  10. Ricola3D

    Debugging: how-to log all trigger executions?

    Hello, I am trying to debug a desync issue. For this I am already doing hooks on functions known for causing desync that write logs in a local file. However, I'd like to also log trigger executions. This way I may be able to know what last triggers execute before desync. Do you know how I can...
  11. Uncle

    Issues with creating a Dialog (Lua)

    So the issue is weird. This code works as it should: function Test() DialogTest = DialogCreate() DialogAddButtonBJ(DialogTest, "TEST") DialogDisplayBJ(true, DialogTest, Player(0)) end It creates the Dialog and everything works fine. However, the problem occurs when trying to run...
  12. Cebi

    [Spell] Sacrifice System.

    So I looked at the Sacrifice ability and realized that it has huge potential yet limited by stiff un-editable outcomes. What I need from it at first was simple, sacrifice 1 custom unit for another. But then once I tested it though the Object Editor thinking it would be simple... it wasn't...
  13. SoooK

    [Solved] WE can't open my map anymore

    I had to buy a new PC. I reinstalled Wc3 and updated everything to the latest version, which I used before. If I want to open my map, I get an error massage, saying, that the trigger function "BLZGetUnitAbilityCooldownRemaining" is missing in the databank. Repairing with the blizzard launcher...
  14. Prometheus3375

    Issues with timer functions

    Hi everyone! There is a small research on how timer API works in WarCraft 3. Tests were made on 1.26a and 1.32.10 versions. TimerGetTimeout Whenever passed timer is started by TimerStart, this function returns the last passed timeout value. Example: timer is started by TimerStart with x...
  15. Ofel

    Is there a way to get the attack type of a unit?

    I desperately need this. Is this possible?
  16. thorlar

    [Solved] A way to extract unit-type from given unit?

    So for the last days, I am stuck at this problem. I want to make a JASS function(plz no vJASS) that takes a unit, and returns the raw code of the unit, in unit-type/integer/string form(form doesn't really matter as long it works) I also have an global integer array(easily converted to unit-type...
Top