Search results

  1. Necrach

    hashtable question

    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...
  2. Necrach

    Lightning height

    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...
  3. Necrach

    Making unit selectable, uncontrollable (by triggers)

    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...
  4. Necrach

    Create blight vs destroy blight

    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...
  5. Necrach

    Player groups

    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
  6. Necrach

    adding/removing Locust possible?

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

    Skies

    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...
  8. Necrach

    Continual casting in Events

    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...
  9. Necrach

    I THINK its the "order" action that doesn't work

    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...
  10. Necrach

    Stopping cooldowns

    Is there any way to temporarily stop cooldowns for all abilities on the map or for specific units?
  11. Necrach

    Could something get wrong with the variables?

    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...
  12. Necrach

    Random point of Region

    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...
  13. Necrach

    Trigger connected to spell doesn't work

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