1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The poll for Hive's 12th Concept Art Contest is up! Go cast your vote for your favourite genie!
    Dismiss Notice
  4. Travel to distant realms and encounter scenes unknown to the common folk. The Greatest of Adventures is upon us with the 8th Cinematic Contest. Join in on a fun ride.
    Dismiss Notice
  5. The 18th Icon Contest is ON! Choose any ingame unit and give him/her Hero abilities. Good luck to all.
    Dismiss Notice
  6. Contestants are to create a scene set in the Stone Age. Come and see what you can come up with. We wish you the best of luck!
    Dismiss Notice
  7. Colour outside the lines! Techtree Contest #13 is a go. The contest is optionally paired.
    Dismiss Notice
  8. Greetings cerebrates, our Swarm needs new spawners that will have numerous children. Join the HIVE's 31st Modeling Contest - Spawners and Spawned! The contest is optionally paired.
    Dismiss Notice
  9. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Is my spell MUI?

Discussion in 'World Editor Help Zone' started by X-Death, Jun 5, 2013.

  1. X-Death

    X-Death

    Joined:
    Jul 17, 2004
    Messages:
    280
    Resources:
    0
    Resources:
    0
    Is my spell MUI? Meaning, if more than one hero uses this ability at the same time, will the spell break? If so, how do I fix?

    • Unholy
      • Events
        • Unit - A unit Starts the effect of an ability
      • Conditions
        • (Ability being cast) Equal to Unholy (Necromancer)
      • Actions
        • Set Necromancer_Ult[1] = (Triggering unit)
        • Set Necromancer_Ult[2] = (Target unit of ability being cast)
        • Special Effect - Create a special effect attached to the origin of Necromancer_Ult[2] using Abilities\Spells\NightElf\Starfall\StarfallCaster.mdl
        • Set Necromancer_Ult_FX = (Last created special effect)
        • Trigger - Turn on Timer <gen>
        • Wait 10.00 seconds
        • Trigger - Turn off Timer <gen>
        • Special Effect - Destroy Necromancer_Ult_FX


    • Timer
      • Events
        • Time - Every 0.80 seconds of game time
      • Conditions
      • Actions
        • Special Effect - Create a special effect attached to the origin of Necromancer_Ult[2] using Objects\Spawnmodels\Undead\UndeadDissipate\UndeadDissipate.mdl
        • Special Effect - Create a special effect attached to the origin of Necromancer_Ult[2] using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
        • Unit - Cause Necromancer_Ult[1] to damage Necromancer_Ult[2], dealing 250.00 damage of attack type Spells and damage type Poison
     
  2. Dr Super Good

    Dr Super Good

    Spell Reviewer

    Joined:
    Jan 18, 2005
    Messages:
    25,462
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    No it is not. You need to dynamically handle ability instances rather than using static global indexes for storage.
     
  3. X-Death

    X-Death

    Joined:
    Jul 17, 2004
    Messages:
    280
    Resources:
    0
    Resources:
    0
    Okay, how do I do that?
     
  4. defskull

    defskull

    Joined:
    Mar 27, 2008
    Messages:
    7,978
    Resources:
    17
    Spells:
    17
    Resources:
    17
    By either using Hashtable or Indexing, your call.
    There are many tutorials over at the Hiveworkshop, you just need to use Search function.
     
  5. Maker

    Maker

    Joined:
    Mar 6, 2006
    Messages:
    9,193
    Resources:
    17
    Maps:
    2
    Spells:
    14
    Tutorials:
    1
    Resources:
    17
  6. CoLd Bon3

    CoLd Bon3

    Joined:
    Aug 8, 2010
    Messages:
    948
    Resources:
    4
    Spells:
    4
    Resources:
    4
    Also, even if you use Hashtables or Indexing systems, it's not recommended to use this
    • Wait 10.00 seconds
    function
    It's just bad. There are ways to achieve the same effect but with far better method.
     
  7. deathismyfriend

    deathismyfriend

    Joined:
    Oct 24, 2012
    Messages:
    6,532
    Resources:
    14
    Spells:
    12
    Tutorials:
    2
    Resources:
    14
    U can also take a look at my tutorial things a GUIer should know. Check out the chapter on how to index. It should help u to understand MUI and make things with a time period without using waits