• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Unit within Region dies

Status
Not open for further replies.
Level 8
Joined
Sep 9, 2007
Messages
114
For my current project;
I'm currently stumped (again :slp:) with this prisoner system i'm working up

I want to give a 25% chance that when a unit dies it gets moved to your teams prison

Once inside the prison its health slowely drains ( I have that part done)

But i want it so... when that unit dies within said region. It becomes a skeleton belonging to whoevers prison its in.

Example:
Orc Grunt Dies*
Orc Prisoner spawns in humans Prison
Once the unit within (Region Prison) dies
create a skeleton for player (human)


Problem is i cant figure out how to:
Once unit within region dies
Because theres 4 different teams and 4 different prisons... so i'm having difficulty making each team's prison function correctly

Thanks in advance HWS community
You have all been loads of help these past few days.
 
Condition is Boolean - Unit - Unit is in region
  • Untitled Trigger 001
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Region 000 <gen> contains (Dying unit)) Equal to True
    • Actions
 
Status
Not open for further replies.
Back
Top