• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Spell] Just wanted to ask if my spell is MUI

Status
Not open for further replies.
Level 4
Joined
May 18, 2011
Messages
67
hello hive just wanted to ask if my spell is MUI i just followed the MUI tutorial of magtheridon and i just wanted to make sure that i do it correctly...

  • Resurrection Text
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Resurrection |cffffcc00(R)|r
    • Actions
      • Set writeIndex = (writeIndex + 1)
      • Set caster[writeIndex] = (Triggering unit)
      • Floating Text - Create floating text that reads Ressurection!!! above (Triggering unit) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
      • Wait 2.00 seconds
      • Floating Text - Destroy (Last created floating text)
      • Set readIndex = (readIndex + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • readIndex Equal to writeIndex
        • Then - Actions
          • Set readIndex = 0
          • Set writeIndex = 0
        • Else - Actions
on my trigger i wanted to cast a resurrection, after channeling a floating text will appear saying "RESURRECTION" i need to put a WAIT on my trigger in order for the floating text to appear,....
 
No it is not MUI. I dont know much about MUI, but the Floating text destroys the last text, which causes a problem is the trigger is run twice at the same time.

To fix it, you must somehow set the floating text

Set Text [writeindex] = Last created floating text
 
No it is not MUI. I dont know much about MUI, but the Floating text destroys the last text, which causes a problem is the trigger is run twice at the same time.

To fix it, you must somehow set the floating text

Set Text [writeindex] = Last created floating text

i thought about that but, im thinking that if i dont destroy the floating text it might cause a leak...
 
I remember that there is an expiration time (or something like that) for floating text. U should try that out instead of using wait. Never use Wait in the MUI.
 
I remember that there is an expiration time (or something like that) for floating text. U should try that out instead of using wait. Never use Wait in the MUI.

  • Pro Trigger
  • Events
  • Unit - A unit starts the effects of an ability
  • Conditions
  • (Ability being cast) Equal to MyDerpyAbility
  • Actions
  • Set WriteIndex = (WriteIndex + 1)
  • Set caster[WriteIndex] = (Triggering unit)
  • Wait 5.00 seconds
  • Set ReadIndex = (ReadIndex + 1)
  • Unit - Remove caster[ReadIndex] from the game
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
  • If - Conditions
  • ReadIndex Equal to WriteIndex
  • Then - Actions
  • Set ReadIndex = 0
  • Set WriteIndex = 0
  • Else - Actions
i just followed magtheridon's guide to a MUI with wait... see the trigger its too similar...
 
  • Actions
    • Floating Text - Create floating text that reads Resurrection!! above (Triggering unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
    • Floating Text - Change (Last created floating text): Disable permanence
    • Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
this is an example..

without wait...
 
What happens if the Channeling is interrupted ?
The spell will still go on, therefore mess up your spell mechanics.

This needs at least 2 trigger to handle the Channeling.

yep, been thinking of that sir, but all that for just a single text "RESURRECTION" is for me not worth it...

EDIT :
  • Actions
    • Floating Text - Create floating text that reads asd above (Triggering unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
    • Floating Text - Change (Last created floating text): Disable permanence
    • Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
this is an example..

without wait...

OMG here comes my hero...
 
Pls others dont ask too much questions, think a little with ur head, mui spells can be with wait action and have been duing that long time ago; but u shouldn't use it for every single kind of spells, it can be used but can complicate a lot. Mostly use MUI spells with w8 for some stats bonuses or something like that.

im not asking too much question, and sorry im not an einstein with WE thats why i ask it, and reading a tutorial is kinda make it more complicated to me i learn when im asking thats why i ask question good day :)
 
Pls others dont ask too much questions, think a little with ur head, mui spells can be with wait action and have been duing that long time ago; but u shouldn't use it for every single kind of spells, it can be used but can complicate a lot. Mostly use MUI spells with w8 for some stats bonuses or something like that.

calm down, if he know what to do then he wouldn't ask anything..

anyway, problem solved.. don't post anymore...
 
Status
Not open for further replies.
Back
Top