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

function

  1. 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!
  2. 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...
  3. 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?
  4. 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...
  5. 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?
  6. HerlySQR

    Why Disable ability for player doesn't work?

    Every time I use that function never work, Can you tell me why?
  7. 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 =...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. Ofel

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

    I desperately need this. Is this possible?
  15. 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