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

How to make doodads transparent when they block visibility?

Status
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
 
Level 26
Joined
Mar 19, 2008
Messages
3,140
You want to detect when you change cammera setting right?
Why don't you use just simple method with setting real variable.

Egzample:
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.
 
Status
Not open for further replies.
Top