• 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.

Hey can anyone help me with a trigger :-\

Status
Not open for further replies.
Level 5
Joined
Jun 18, 2004
Messages
136
i think he wants to be able to train the unit and then not be able to revive it. then you would do this:

Events
Unit-A unit finishes training a unt
Conditions-trained unit equal to [whatever the hero is]
Actions-set training availability of [your hero] to off
or somthing like that. i think this will work i didnt test it though
 
Level 2
Joined
Jul 24, 2004
Messages
17
thx :)

thx chicken ;P but what i want is to be able to train tons of this cind of hero but not to be able to revive it :) got any idea for that?


... im making a map where all units can get xp
 
Level 7
Joined
Mar 26, 2004
Messages
350
maybe if u remove the hero from game when he dies:

Code:
event - unit dies
condition - unit type of dying unit equal to hero = true
action - remove dying unit from game

haven't tested, but should work
 
Level 22
Joined
May 11, 2004
Messages
2,863
Easiest thing to do there is use the "campaign" heroes, you can build unlimited of them if you allow them to be trainable at an alter or barracks. (you can do that with the normal heroes, too, I just don't remeber how to do it off the top of my head.) And simply remove the "revives dead heroes" ability off the Alters/Taverns. (might be a true/fals box you have to check)
-VGsatomi
 
Level 7
Joined
Mar 26, 2004
Messages
350
then u have to add a new condition:

condition - unit type of dying unit equal to "hero which should be revivable" = false
 
Level 2
Joined
Jul 24, 2004
Messages
17
hmmm...

hmmm... ok i found the event and condition but where is the "action - remove dying unit from game" can someone tell me how the editor write it?
 
Status
Not open for further replies.
Top