Search results

  1. D

    Food Limit vs Tower Construction

    Untitled Trigger 002 Events Unit - A unit Begins casting an ability Conditions (Ability being cast) Equal to Build Tower Or - Any (Conditions) are true Conditions (((Owner of (Triggering unit)) Food used) + 1) Greater than or...
  2. D

    Buff problem

    I'm guessing you have a comma in there somewhere. For some reason, a comma cuts off the rest of the text in buff tooltips. I don't know why. Avoid commas.
  3. D

    Timer doesnt run periodically? or somethings wrong?

    OK, I think I see the problem now: In your StartTrail and CheckLoc functions, you are destroying the timers too early. Try moving the "call DestroyTimer(GetExpiredTimer())" lines inside the If/Then statements.
  4. D

    Timer doesnt run periodically? or somethings wrong?

    (Just guessing here.) private function StartDamage takes nothing returns nothing local unit cast = GetTriggerUnit() local integer l = GetUnitAbilityLevel(cast, 'A000') call UnitDamageTarget(cast, GetEnumUnit(), 50*l, true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_NORMAL, null) set cast...
  5. D

    Cooldown Trigger

    If you make a custom spell based off of "Channel" you can change the "Base Order ID." For example, you can change the Base Order ID to "corporealform" or something. Then via trigger, you can order the unit to "corporealform" and it will activate the cooldown without the spell actually being cast.
  6. D

    Unit flying height help

    I think movement speed needs to be at least 1 for it to work.
  7. D

    [Contest] Official Texturing contest I

    I was thinking about joining this contest. I already started something, but I don't know if it's any good. I've never re-textured before and I don't know if what I'm doing is within the rules or not: Edit: sent PM.
  8. D

    Attacking with only 1-1 damage

    Why do you want 1-1 damage? Did you know that 0-0 is possible? Well, if you're OK with 0-0, you can set both "Damage Number of Dice" and "Damage Sides per Die" to "1" and set "Damage Base" to some really low negative number like "-50" (hold Shift when you double-click). (This works for...
  9. D

    Round

    It could be that I'm getting mixed up with Angle between 2 Points. But I do remember for sure that one of them returns 0 to 359 and the other returns -180 to 180. You may have to double check for sure.
  10. D

    Round

    Integer(Face/10 + 0.5) * 10 However, if I remember correctly, I think Facing of Unit returns a value from 180.00 to -180.00.
  11. D

    Trigger problem

    You may find that, with certain events, sometimes they happen before they happen. (I know that sounds strange, but bear with me.) Your event is "Unit - A unit enters region." For some strange reason, the trigger runs right before the unit actually enters the region. So when you check the...
  12. D

    Timer

    When you start a timer, you can specify whether it will be a "one-shot" or a "repeating" timer.
  13. D

    I want to blink a group of units

    OK, I went ahead and gave it a try in GUI. This is a non-unique-cast version of Blink that retains group formation. It works pretty good, but still has some flaws. Group Blink Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast)...
  14. D

    A Calling Spell

    Make a spell based on Channel with very high cast range. Give it the targeting image with the desired AoE size. Untitled Trigger 001 Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to <Calling> Actions Set...
  15. D

    Problem with Magic Immunity and Avatar

    Generally speaking, you can make a non-ultimate spell become ultimate by changing the required level to something higher than 1, thus allowing it to be able to target spell immune units. But there are bound to be some exceptions and some weird unexpected results. Some of the effects work and...
  16. D

    I want to blink a group of units

    That type of thing you're describing is called "unique cast." I believe most abilities are hardcoded to be either unique-cast (most unit- or point-targeting abilities like Blink) or non-unique-cast (most self-targeting/non-targeting, non-Hero abilities like Berserk or Defend) and I don't think...
  17. D

    Triggered Spell Issue

    Yeah, like darkbeer said... Set TempReal = ((Real(((TempPlayer) Current gold))) x (0.08 + ((Real((Level of Roubar for (Triggering unit)))) x 0.02)))
  18. D

    Triggered Spell Issue

    No, integers don't leak, so you don't ever have to worry about them. The leaks are the player groups: Game - Display to (Player Group((Owner of (Triggering Unit)))) the text... This occurs in 3 places. You can set it to a Player Group variable and then destroy it afterwards. Also, I...
  19. D

    Triggered Spell Issue

    Certain things like "Target unit of ability being cast" don't work after Waits. If you moved that action to before the Wait, it would probably work. Be aware, though, that using global variables with waits in between makes the spell non-MUI. And the way you have it set up, it will not be MPI...
  20. D

    Slowing splash tower

    I'm absolutely 100% positive that it works. I am using it in my TD for one of my poison towers and it works exactly as intended. I am absolutely 100% positive that this works too as I have tested this type of stuff extensively. As Chocobo said I did this in my submission to the recent...
Top