I think I have misunderstood something very important here...
If I use this action
Hashtable - Save (Level of ABILITY for (Casting unit)) as (Key (Attacked unit)) of 2 in hashtable[2]
Should it not return the level of the ability as an integer if I do
Set INTEGER = (Load (Key (Attacked...
I have searched this forum and tried to figure out how to use the SetLightningZ function in a custom script (I am using GUI). I can't get it to work, thing is i cannot find how to get the Last Created Lightning Effect into the ()
Can someone post a fitting custom script? All I want to do is...
Basically, what I want is to make a unit have selection enabled but control disabled, for a short period of time. Like having the Ward classification, but I cannot find a way to add that via triggers.
If there is no solution for this, what's the best way of making it totally uncontrollable for...
This is a small project I created a while ago. Please tell me what you think about it. And, I know, the "check" trigger leaks a thousand points (literally, a thousand :s)
Anyway, to the question. The "remove blight" action in the trigger editor seems exact, as it has a minimum area of one tile...
I know that Group leaks, and I figure they should on Player Groups as well as Unit Groups. But in all tutorials, there is only descriptions on how Unit Groups leaks.
So the question is simple, do Player Groups leak? :o
I know its not possible in GUI, as the Locust ability is coded so that it will not appear in any other list than when giving abilities to a unit in the Object Editor field for Abilities.
But there must be a simple costum script line for removing the Locust ability, or is it is impossible to...
I have searched the forum and checked tutorials for cinematics for this, but it doesn't really makes any sense to me. Can someone tell me, really, what a "sky" is and how to display it.
I have tried different skies in the map Options and changed them in the Editor Preferences, but its still all...
I have an ability based on Searing Arrows, but it seems that when the unit has continual casting activated, none of the Unit events works (starts effect of ability etc)
Any ideas how to get around this? Have played around for a while but doesn't find anything...
This is just a part of the trigger for a spell. A dummy unit should be summoned, creating an illusion of a unit. The unit is summoned and the variables seems to fit, but it still doesn't cast the spell.
I made the spell from the Item ability "Item Illusion" and changed all the order strings to...
When putting units in variables like this, as soon as they are created, could it cause leaks? (eg. not getting all the right units in the right variables)
My maps triggers apparently have leaks and I don't know where the main problem is, but please tell if there is a better way of putting the...
I made a Periodic event that a unit will be created in a Random point in Playable map area every X seconds.
The problem is, as you might have guessed, that the units always spawn with same order of positions every time you play the map.
I guess this is because the Random generator for...
I am making a trigger bound to a skill. It is supposed to work like this: After using the spell at an enemy, he starts attacking a nearby friend (if there is any, otherwise the spell is wasted.) He should do so until ordered a new order, eg the spell will be effective against players that...