• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Transparent Unit

Status
Not open for further replies.
Level 2
Joined
Aug 12, 2011
Messages
27
How can I make transparent unit which is visible for EVERY player ?? (like kel thuzad from capaign)

PS. I tried to make it alone with triggers with no result. I want to get an effect like this:
When I cast my spell SLEEP on special unit (lets pick a SOLDIER) I want to show every1 text: You are sleeping and make every unit at playable map are after the effects of skill SLEEP.

But have no idea how to make trigger with action etc. I hope u understand me.
 
Last edited:
Level 12
Joined
Oct 10, 2009
Messages
438
Its a trigger that does what you asked for; Its under animation in the "Change Color"/ Vertex coloring area. Just play with the transperancy levels for what you want.

Seeing how you have little to no posts, The proper event you would want is

"Unit enters (playable map area)"

Followed up with a conditional unit entry, The use the aformentioned trigger "coloring" to make it semi visible.
 
Level 2
Joined
Aug 12, 2011
Messages
27
Thanks trigger with transparency works great ^^ I still need this:

event: unit cast ability
condition: casted ability is sleep; unit targeted by spell is That Tower
actions: make every unit on map after the effects of spell SLeep

I can't get this one :(
 

Bribe

Code Moderator
Level 50
Joined
Sep 26, 2009
Messages
9,464
  • Trigger
    • Actions
      • Set SpellUnitType = (Unit type of ==That Tower==)
      • Set bj_wantDestroyGroup = true
      • Unit Group - Pick all units in (units in (playable map area)) and do (Actions)
        • Loop - Actions
          • If (All Conditions are true)
            • If - Conditions
              • Unit type of (Picked unit) Equal to SpellUnitType
            • Then
              • -------- Apply effects of sleep to that unit --------
            • Else
 
Status
Not open for further replies.
Top