Recent content by Weep

  1. Weep

    Easier Way to access Hero Icon Paths?

    If you instead save the strings into a hashtable, using the unit-type as the key, then you can just load the string from the key of the unit-type of (Triggering unit) or whatever, instead of having a lot of if/then/else functions.
  2. Weep

    Preventing unit from attacking

    This sounds like a solution. :thup: False; Unit Is Attacked happens at the very start of an attack, right before the animation plays and some time before the attack actually fires.
  3. Weep

    How can I get a unit with no dmg to attack?

    Set its base damage to 1, its dice sides to 1, and number of dice to -1 (by shift-clicking). Alternately, a unit can still show some damage in its stats but actually deal 0 damage by giving it a modified Critical Strike or Elune's Grace ability with the damage modifiers set to 0%.
  4. Weep

    Spell won't fire (Dummy Unit using Holy Light)

    Set TEMP_Point = (Position of (Targeted unit)) Should be Set TEMP_Point = (Position of (Target unit of ability being cast))
  5. Weep

    Model Help

    This is normal; there is nothing to fix. It should still work correctly in WC3.
  6. Weep

    Spell Instant Chain Lightning

    Fixed a subtle but important error. :o
  7. Weep

    How do you put a save and load in the game?

    Check the resources section, there are a few save/load systems already. Here is a relatively simple one Here is a complex and powerful one.
  8. Weep

    Need help on channeling Spell

    The event Unit stops casting is fired when channeling stops, whether interrupted or the duration is successfully completed. The event Unit finishes casting fires only when the duration completes. Alternately, you could periodically check whether the unit's current order is still the order of...
  9. Weep

    Increasing max health by percentage?

    You would just alter the maximum health using traditional flat-amount methods, but calculate the amount as a percent of the unit's current maximum HP (eg. 0.2*Max. HP is 20%).
  10. Weep

    Sight range decrease using item sight range bonus

    I have not tried it myself, but based on how Ayanami programmed his Dark Lady spell pack (and I trust his methods), it appears that ability cannot be leveled and you must make a separate ability for each different value.
  11. Weep

    Ability for adding hero glow

    Not true. I use Slow Aura (Tornado) to attach hero glows, and all that's necessary to remove the buff is to set the Stats - Targets Allowed to None.
  12. Weep

    Icon green Box

    Re-read the tutorial; those are not the correct paths. In fact, the tutorial even has a section about how to fix things if you get a green icon... The paths need to be: ReplaceableTextures\CommandButtons\BTNFrostImpale2.blp ReplaceableTextures\CommandButtonsDisabled\DISBTNFrostImpale2.blp
  13. Weep

    Detect What is being Upgraded Into

    With the event Unit - A unit Begins an upgrade, for me, Unit-type of (Triggering unit) is the kind that it is upgrading into.
  14. Weep

    Portrait Angles and the Model Editor

    Look through the comments on it, there's a fixed version in one of the posts.
Top