make an unit completely invisible

Choppa

www.warcraft-gamers.po.gs
Reaction score
59
Setting the transparency to 100.00% will work, and changin the model to ".mdl" will work, .mdl is no model, not none.mdl.

And
Code:
invisible Copy 
    Events 
        Unit - A unit Stops casting an ability 
    Conditions 
        (Ability being cast) Equal to Camouflage (sniper) 
    Actions 
        Animation - Change (Casting unit)s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
Don't use that event, use a perodic timer or some other way to set the transparency back to normal, but not that event.
 

hell_knight

Playing WoW
Reaction score
126
He casts the ability he goes invis , he stops casting hes revealed......

Whats the spell based off of? If its like stormbolt he wont go invis but say Blizzard he will be invis until he stops casting it.
 
D

dunpealx4

Guest
the based-spell is immolation. i removed the buff art, only deals 1 damage per second and the aoe is set to 1.
only work on 100% transparency? because when i set to 90%, it actually looks better to me.

i just tried something different this time.
Code:
invisible
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Camouflage (sniper)
    Actions
        Wait .5 second.
        Animation - Change (triggering unit)s vertex coloring to (100.00%, 100.00%, 100.00%) with 90.00% transparency

Code:
invisible Copy
    Events
        Unit - A unit Stops casting an ability
    Conditions
        (Ability being cast) Equal to Camouflage (sniper)
    Actions
        Wait 2 second
        Animation - Change (triggering unit)s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency

now this time the hero turns to 90% invisible whenever the spell is being cast, but after 2 second, it back to normal, but the spell is still activated, cuz the mana keeps draining. how can that be? i didn't deactivate the spell. so it shouldnt trigger the stop casting ability triggers. maybe i should try other events. i will see what i can do

also, i tried this as well
Code:
invisible
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Camouflage (Sniper)
    Actions
        Wait 0.50 seconds
        Animation - Change (Triggering unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 93.00% transparency
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Mana of (Triggering unit)) Less than 10.00
            Then - Actions
                Animation - Change (Triggering unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
            Else - Actions
                Do nothing

this one looks fine, when the mana is out, the hero gets back to normal, but the problem is when a player click deactivate. the hero is still invisible. now, i cant find a trigger that deactivate a spell.
 

Somatic

You can change this now in User CP.
Reaction score
84
Activation

Code:
Events 
Unit - A Unit is issued an Order targeting no unit
Condition
Issued order is equal to "Immolation"
Level of Cloak for Issued Unit is Not Equal to 0 
Action
Set Cloak = Issued Unit
Animation - Do your Action
Add Ghost to Cloak
Turn on Cloak Check (Trigger)
Turn on Cloak Disable (Trigger)

Cloak Check

Code:
Events
Mana of Cloak is less than or equal to <Your Value>
Condition
Cloak Has <Enter Your Buff Here> Equal toTrue
Actions
Remove Ghost From Cloak 
Animation - Do Your Actions here
Issue Order "Unimmolation" to Cloak
Turn Off This Trigger

Cloak Disable
Code:
E - Unit is issued an Order with no target
C - Issued order is equal to "Unimmolation"
A - Remove Ghost From Cloak 
Animation - Do Your Actions here

Quite a Rough Sketch of what can be done. Hope it helps
 
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