• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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