• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Solved] Simple taming

Status
Not open for further replies.
Level 1
Joined
Mar 5, 2020
Messages
3
Hi there,

So, actually i'm trying to make a simple taming Trigger

I use a specific unit
I want it to change owner when it's attacked AND below a certain amount of health to the owner of the attacking unit

The problem is i can't figure out how to make as a condition "the 2 events have to be true" or simply have a condition like "attacked unit health is less or equal to 150 HP"

TamingTrigger.png
 
Remove the first Event and add Condition "(Current life of (Attacked unit) Less than or equal to 150.00)".

So the trigger is (well) triggered only when your unit is attacked, and the Actoins take place only if all Condtions are true.
 
Remove the first Event and add Condition "(Current life of (Attacked unit) Less than or equal to 150.00)".

So the trigger is (well) triggered only when your unit is attacked, and the Actoins take place only if all Condtions are true.

Found it under "Condition->Real Comparison"

Thanks, i've search this for a while, and i don't know why i struggle so much to find this kind of little things. Anyway thanks again.
 
Don't use the "unit is attacked" event. It can be abused and doesn't fire at the right time. Instead you should use DamageEngine: Damage Engine 5.5.0.0

Thanks for the advise, but i don't feel like using DamageEngine for now (maybe later for another map), the trigger is working fine this way as i'm not planning on multiplayer maps for now.
 
Status
Not open for further replies.
Back
Top