Was coding this in a performance bottle neck. It seems that the trigger and filter unit are both the killing unit when they should be the dying unit. Just a small point of interest I guess. I will be using a condition I guess, but if anyone knows how to fix this I wouldn't mind picking up the...
I remember reading somewhere that text tags don't leak if they don't have a permanent life span. I don't remember the source, or if it is credible. Basically what I'm after is "does this code leak?"
static method MakeTextTag takes string s, real velocity, unit t, integer r, integer g, integer b...
I have two different types of blink on the same unit. One is a short blink with little cooldown, and the other is a long blink with a long cooldown. However, trying to use the long blink just results in the unit using the short blink. The only way to access the long blink is to order a blink...
I'm making a trigger that spawns items randomly about the map, then use "A unit comes withing range" event to automatically pickup the items. However, something odd happens: go in range of the first one and nothing happens. When the second item spawns, going to the first one gives you the second...
I just started using hashtables, and I have a few spells that keep saving timer handles in there. Do I have to clean it up somehow or does it autoclean itself?
I'm trying out this awesome looking system, but for some reason it always starts on the caster, and then bounces to nearby enemies, even though the "only hit enemies" boolean is true and the setup should start it on the target of casting unit.
scope ChainStun initializer init{
private hashtable...
/*
This is a chain spell template by Frozenhelfire
Requires cJass: http://www.thehelper.net/forums/showthread.php?t=137979
Requires KT by Jesus4Lyf, download from: http://www.thehelper.net/forums/showthread.php?t=78392
Requires Recycle by Nestharus, download from...
Quick question, when I choose the "Hawk" for a model file in the object editor, it has three hawks in the list, but I can't figure out how to use them. The first hawk is all white, but I'm looking for the one that is brown with a white head (thunder hawk I think). I think it has something to do...
Could someone please provide me with an answer for this problem? I need to do a screen-record and host it live on a website such as blogtv, but I can't figure out how from google. I've tried a variety of searches but nothing yielded anything helpful. Does anyone know how to do this? Any help...
Hey, I have a landmine unit in my map, and every time it casts a spell it explodes and the model "disappears" until it attacks something. I know this happens because the casting animation happens to be the animation it uses when it explodes. How do I fix this so the landmine doesn't disappear...
EDIT2: I solved the problem by commenting out some of the return 0's in the create method. I think this only matters if your recipes haven't worked in the past. Here's my code:
library RecipeSYS initializer init uses Table
// ¤ v0.7 ¤
//...
Posting this because a lot of topics like this will probably appear. It seems that Blizzard has made yet another retarded mistake: http://www.wc3c.net/showpost.php?p=1096978&postcount=12
Sigh... my map has tons of these.
EDIT: function Callback takes nothing returns boolean
if true...
For some reason, my trigger in response to a construction event wasn't firing, so I put some debug messages into the trigger. They both display the name of the structure that is being built, but the GetTriggerUnit() should display the unit building the structure. Does anyone have an idea on how...
I'm trying to make a custom slowing (orb) effect. The unit in question already has an orb that is used for something else, and I want its attacks to hit units with a stacking slow. For simplicity, each attack slows the units movement speed by 10% of its current speed. So if it were hitting a...
Does anyone know how to do this? Lets say a unit has 5 damage, and he picks up an item that gives another 5. I'd like a 100% command aura to give him an extra 10 damage instead of an extra 5. I want the extra damage to show up preferably. This only affects the unit holding the item, so this...
I have an item designed to make units move faster than 522. I'm trying to think of an efficient way to do this, which involves pathfinding. I.E. the unit must move to its destination just as if any other unit would, only this one would be going faster than 522. I have one idea, but I'd like to...