• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

How to make doodads transparent when they block visibility?

Not open for further replies.
Hi, I need help with my camera system. I already know how to make a doodad transparent or how to make camera zoom in, but I need to set WHEN it happens. You see, I am making a Third Person Camera System that will make camera zoom in or doodads become transparent if they block the sight to the hero.
Please, tell me what Events and Conditions should I use. :D


Code Reviewer
Level 26
Mar 19, 2008
You want to detect when you change cammera setting right?
Why don't you use just simple method with setting real variable.

player changes camera settings, fire action that sets real variable to given number and use proper event.
  • Actions
    • <stuff here about camera>
    • Set Real = 1.00
Real is set by default to 0.00.
In other trigger:
  • init
    • Events
      • Game - Real becomes Equal to 1.00
    • Conditions
    • Actions
      • <stuff here>
Use can use also many other methods if your cammera is triggered via clicking any buttons, or arrows.
Not open for further replies.