need some help.. Please.. (Need to remove Miss text.. from evasion)

L

Lost

Guest
Well.. i'm making a spell.. that aims at giving a hero.. evasion.. except.. everytime i evade an attack i want it to say "PARRY!" in red text instead of that Miss text that pops up.. Parry in big floating red text btw.. any suggestions?/
 

Daskunk

SC2 Forum MVP - TheSkunk #386
Reaction score
186
The only way you can do it, without triggers, it will do it whenever anybody misses for anything, not just evasion. Go to Advanced - game interface, its in there... Text - General - miss, or Text - Message - miss, its called. Check Allow custom game interface before you change it.
 
L

Lost

Guest
i'm fine with triggers.. but i want it to only work for evasion not every single miss..
 

Zanar

New Member
Reaction score
7
I can make you a trigger I will edit my post when I finish it.

EDIT:Here is the the trigger I know it leaks and I don't even know if it is mui and it has bugs I'll make it better if I can figure out a way:

Code:
Parry
    Events
        Unit - A unit Learns a skill
    Conditions
        (Learned Hero Skill) Equal to Evasion
    Actions
        Trigger - Turn on Attacked Unit <gen>

Code:
Attacked Unit
    Events
        Unit - A unit Is attacked
    Conditions
    Actions
        Set Integer = (Integer + 1)
        Set Attacked = (Attacked unit)
        Set Attacker[Integer] = (Attacking unit)
        Set Attacker_Parry = Attacker[Integer]
        Set Random_Int = (Random integer number between 1 and 100)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Evasion for Attacked) Equal to 1
            Then - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        Random_Int Less than or equal to 10
                    Then - Actions
                        Set Attacker_Loc = (Position of Attacker_Parry)
                        Unit - Pause Attacker_Parry
                        Animation - Play Attacker_Parry's attack animation
                        Floating Text - Create floating text that reads Parry at Attacker_Loc with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                        Set Int_Float = (Int_Float + 1)
                        Set Floating_Text[Int_Float] = (Last created floating text)
                        Set Float_Text = Floating_Text[Int_Float]
                        Trigger - Turn on Periodic Event <gen>
                        Wait 1.00 seconds
                        Unit - Unpause Attacker_Parry
                    Else - Actions
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Evasion for Attacked) Equal to 2
            Then - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        Random_Int Less than or equal to 20
                    Then - Actions
                        Set Attacker_Loc = (Position of Attacker_Parry)
                        Unit - Pause Attacker_Parry
                        Animation - Play Attacker_Parry's attack animation
                        Floating Text - Create floating text that reads Parry at Attacker_Loc with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                        Set Int_Float = (Int_Float + 1)
                        Set Floating_Text[Int_Float] = (Last created floating text)
                        Set Float_Text = Floating_Text[Int_Float]
                        Trigger - Turn on Periodic Event <gen>
                        Wait 1.00 seconds
                        Unit - Unpause Attacker_Parry
                    Else - Actions
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Evasion for Attacked) Equal to 3
            Then - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        Random_Int Less than or equal to 30
                    Then - Actions
                        Set Attacker_Loc = (Position of Attacker_Parry)
                        Unit - Pause Attacker_Parry
                        Animation - Play Attacker_Parry's attack animation
                        Floating Text - Create floating text that reads Parry at Attacker_Loc with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                        Set Int_Float = (Int_Float + 1)
                        Set Floating_Text[Int_Float] = (Last created floating text)
                        Set Float_Text = Floating_Text[Int_Float]
                        Trigger - Turn on Periodic Event <gen>
                        Wait 1.00 seconds
                        Unit - Unpause Attacker_Parry
                    Else - Actions
            Else - Actions

Code:
Periodic Event
    Events
        Time - Every 0.03 seconds of game time
    Conditions
    Actions
        Trigger - Turn off (This trigger)
        Floating Text - Set the velocity of Float_Text to 50.00 towards 90.00 degrees
        Wait 2.50 seconds
        Floating Text - Destroy Float_Text

It doesn't look good with ranged units and make sure you set all the values from the evasion to 0.
 

W!†A_cRaft

Ultra Cool Member
Reaction score
28
There is a way to REMOVE the MISS from evasino.....

It is very simple...
Do not make the spell from evasion. Rather use a Hardened Skin spell... set the damage reduction to like 99999 and minimum damage to 0 and thus you will not get damaged, and will not show "MISS"
 

wellwish3r

wishes wells.
Reaction score
52
There is a way to REMOVE the MISS from evasino.....

It is very simple...
Do not make the spell from evasion. Rather use a Hardened Skin spell... set the damage reduction to like 99999 and minimum damage to 0 and thus you will not get damaged, and will not show "MISS"

well won't that make the unit practically invulnerable?
 
L

Lost

Guest
i'll check it out

it may work.. but.. i don't know how the code the text appearance.. =$ can someone write the trigger for me and post it??
 
L

Lost

Guest
Code. the entire trigger please..
i don't know how to code.. passives.. the event aswell :p
 
L

Lost

Guest
.. thank you.. for the help.. all i'm asking for.. is an even a condition and an action.. if you don't want to write the trigger.. you could kindly.. link me to a tutorial? and i've tried Daelin's tutorial it doesn't cover non-triggered spells.. (passives) if you don't want to help.. don't post. thanks.

-_- and the double post was an accident.. my net disconnects like hell.. i clicked quick reply.. and tried to do it again.. ended up in two posts.. i apologize for that.
 

Flare

Stops copies me!
Reaction score
662
Well, the choices are
1) Use Hardened Skin, live without Parry! text
2) Alter the Evasion text, live with every miss saying Parry!
3) Find a damage detection system (using Is Attacked events is not a great option), and there are a few DD systems in te Tutorials and Resource form, but this just makes it really complicated, especially if you only want to parry physical attacks.
 
L

Lost

Guest
There is no action that detects.. the activation of a passive? :/ not one??
 
L

Lost

Guest
Alright well.. i'll live with the miss for now.. thanks anyway.. ^^ nd i'm sorry for being a little rude earlier..
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top