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

Some help needed

Status
Not open for further replies.
Level 14
Joined
Nov 25, 2004
Messages
1,185
1. How to prevent unit damage? I want to make a shield ability but I don't know how to prevent unit damage (dying). I looked at Vex's Passive Mana Shield but I still don't understand it.

2. How to make Cone of Sight working that, units are neutral, but if you get into the cone, the unit and few around change to hostile?
 
Level 14
Joined
Nov 25, 2004
Messages
1,185
The first one I mean shield that absorbs damage dealt to unit. And Cone of Sight I mean this :

/***********
/*************
/***************
/*****************
O*******************
/*****************
/***************
/*************
/***********

O - enemy unit

if you get into the "*" you'll get attacked (like in Commandos game). Visibility blockers cannot be used because it must be for few units at time.
 
Status
Not open for further replies.
Top