Warcraft III resources & community, 2003–2006 · archived

Hey can anyone help me with a trigger :-\

11 posts
#1

Hey can anyone help me with a trigger :-\

what i want this trigger to do is "simply"

this cind of hero can't revive

thats all :) thx in advance :P
#2
You don't need a trigger. Just remove the hero off of any build list for Alters and Taverns. That can be done in the object editor.
#3
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
#4

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
#5
maybe if u remove the hero from game when he dies:

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
#6
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
#7

thx again :)

the think ill try the one from razor :) even tho the other was good but... i want some heroes to be able to revive :P
#8
oh well i tried
man i suck :(
#9
then u have to add a new condition:

condition - unit type of dying unit equal to "hero which should be revivable" = false
#10

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?
#11
Unit - Remove.