• 🏆 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!

[Trigger] Minimap = Black [Abillity]

Status
Not open for further replies.
How to do so the minimap image becomes black in this abillity?

  • Obscuro Copy
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Obscuro
    • Actions
      • Custom script: if GetLocalPlayer() == GetOwningPlayer(GetSpellTargetUnit()) then
      • Cinematic - Fade out over 0.25 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
      • Wait (2.50 + (2.50 + (Real((Level of Obscuro for (Triggering unit)))))) seconds
      • Cinematic - Fade in over 0.25 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
      • Custom script: endif
 
  • Untitled Trigger 001
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Obscuro
    • Actions
      • Custom script: local player p = GetOwningPlayer(GetSpellTargetUnit())
      • Custom script: if GetLocalPlayer() == p then
      • Custom Script: call ShowInterface(false, 0.25)
      • Cinematic - Fade out over 0.25 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
      • Custom script: endif
      • Wait (2.50 + (2.50 x (Real((Level of Obscuro for (Triggering unit)))))) seconds
      • Custom script: if GetLocalPlayer() == p then
      • Custom Script: call ShowInterface(true, 0.25)
      • Cinematic - Fade in over 0.25 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
      • Custom script: endif
      • Custom script: set p = null
 
Last edited:
Status
Not open for further replies.
Top