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

[Trigger] Revive hero

Status
Not open for further replies.
Level 4
Joined
Dec 14, 2009
Messages
48
Hmm I think that this is very primitive trigger but I don´t understand why it is functionless.

  • Events
    • Player - Player 1 (Red) types a chat message containing /reset city as An exact match
  • Concitions
  • Actions
    • Hero - Instantly revive Militia Organizer at (Center of (Region 001 gen)), Hide revival graphics
    • Unit - Create 1 Milita fro Player 1 at (Center of (Region 002 gen)). facing Default building degrees
It will create that unit but not revive hero... why?

Thanks for replies
 
Level 1
Joined
Jun 12, 2010
Messages
51
if do u want revive your hero :
i use this in my map
  • revive hero team 1
  • Events
  • Unit - A unit owned by Player 1 (Red) Deis
  • Unit - A unit owned by Player 2 (Blue) Deis
  • Unit - A unit owned by Player 3 (Teal) Deis
  • Conditions
  • Actions
    • Wait 20.00 seconds
    • Hero - Instantly revive (Triggering unit) at (Center of relive team 1 <gen>), Show revival graphics
& for team 2 :

  • revive hero team 2
  • Events
  • Unit-A unit owned by Player 4 (Purple) Deis
  • Unit-A unit owned by Player 5 (Yellow) Deis
  • Unit-A unit owned by Player 6 (Orange) Deis
  • Conditions
  • Actions
  • Wait 20.0 seconds
  • Hero - Instantly revive (Triggering unit) at (Center of revive team 2 <gen> ), Show revival garphics
 
Level 4
Joined
Dec 14, 2009
Messages
48
if do u want revive your hero :
i use this in my map
  • revive hero team 1
  • Events
  • Unit - A unit owned by Player 1 (Red) Deis
  • Unit - A unit owned by Player 2 (Blue) Deis
  • Unit - A unit owned by Player 3 (Teal) Deis
  • Conditions
  • Actions
    • Wait 20.00 seconds
    • Hero - Instantly revive (Triggering unit) at (Center of relive team 1 <gen>), Show revival graphics
& for team 2 :

  • revive hero team 2
  • Events
  • Unit-A unit owned by Player 4 (Purple) Deis
  • Unit-A unit owned by Player 5 (Yellow) Deis
  • Unit-A unit owned by Player 6 (Orange) Deis
  • Conditions
  • Actions
  • Wait 20.0 seconds
  • Hero - Instantly revive (Triggering unit) at (Center of revive team 2 <gen> ), Show revival garphics

Trigger to revive player heroes is OK but I want revive Neutral hostile hero and it doesn´t work. I´ll try to create variabille for that hero and revive variabille.

EDIT: Doesn´t help :/
 
Last edited:
Level 1
Joined
Jun 12, 2010
Messages
51
k ok do u want it revive neutral hero?

ok here it is :

  • Events
    • Unit - Infernal 0019 <gen> Dies
  • Conditions
  • Actions
    • Game - Display to (All players) the text: |cffff0000The infer...
    • Unit - Set life of (Triggering unit) to 100.00%
    • Unit - Set mana of (Triggering unit) to 100.00%
    • Wait 500.00 seconds
    • Hero - Instantly revive Infernal 0019 <gen> at (Random point in revive infernal <gen>), Show revival graphics
    • Game - Display to (All players) the text: The |cff32cd32INFER...

if do u want drop item after kill use this.

  • Actions
    • Hero - Create Ankh of Reincarnation and give it to (Triggering unit)
 
Level 14
Joined
Nov 18, 2007
Messages
1,084
I'm curious about what Militia Organizer is since if you actually did choose a specific unit, the function should look something like this
  • Hero - Instantly revive Warden 0005 <gen> at (Center of (Playable map area)), Hide revival graphics
Notice the four digit number and <gen> after the Warden?
When testing this, are you playing this as Player 1?
Since he did say the unit got created, you should assume the trigger ran but didn't revive the hero.
 
Level 1
Joined
Jun 12, 2010
Messages
51
if he dont want this :

  • Actions
    • Hero - Instantly revive Infernal 0019 <gen> at (Random point in revive infernal <gen>), Show revival graphics
can use this:

  • Actions
    • Hero - Instantly revive Infernal 0019 <gen> at (Center of ( revive infernal <gen>), Hide revival graphics
i think he want trigger for revive player hero. not neutral.
he test it by player 1 .
 
Level 4
Joined
Dec 14, 2009
Messages
48
This one was original

  • Events
    • Player - Player 1 (Red) types a chat message containing /reset city
  • Conditions
    • None
  • Actions
    • Unit - Create 1 Militia for Neutral Hostile at (Center of Region XXX gen) facing...
    • Hero - Instantly revive Militia Organizer gen at (Center of MO gen), Show...
Then I´ve done this one

  • Events
    • Player - Player 1 (Red) types a chat message containing /reset city
  • Conditions
    • None
  • Actions
    • Unit - Create 1 Militia for Neutral Hostile at (Center of Region XXX gen) facing...
    • Wait 2.00 seconds
    • Hero - Instantly revive Boss_MO at (Center of MO gen), Hide...
And again it doesn´t work :(
 
Level 1
Joined
Jun 12, 2010
Messages
51
This one was original

  • Events
    • Player - Player 1 (Red) types a chat message containing /reset city
  • Conditions
    • None
  • Actions
    • Unit - Create 1 Militia for Neutral Hostile at (Center of Region XXX gen) facing...
    • Hero - Instantly revive Militia Organizer gen at (Center of MO gen), Show...
Then I´ve done this one

  • Events
    • Player - Player 1 (Red) types a chat message containing /reset city
  • Conditions
    • None
  • Actions
    • Unit - Create 1 Militia for Neutral Hostile at (Center of Region XXX gen) facing...
    • Wait 2.00 seconds
    • Hero - Instantly revive Boss_MO at (Center of MO gen), Hide...
And again it doesn´t work :(




plz say :
1- do u want it revive hero of neutral?
2- do u want it revive creep of neutral?
3-??

i am dizzy what do u want ?

why u use this ?:
Unit - Create 1 Militia for Neutral Hostile at (Center of Region XXX gen) facing...
u most use this or this.
Hero - Instantly revive Infernal 0019 <gen> at (Center of ( revive infernal <gen>), Hide revival graphics
u cant use (( Unit - Create )) with (( Hero - instantly ))
 
Level 12
Joined
Aug 22, 2008
Messages
911
I'm considering two possible problems:
1. A problem with the unit variable - make sure it's saved correctly. Add actions that display the name of the unit to make sure the value is indeed correct.
2. A problem with the region variable - most unlikely, but you might have changed something with the region, using this action:
  • Region - Center MO <gen> on point
You should create an additional special effect to ensure the region is indeed in the correct place.
 
Level 1
Joined
Jun 12, 2010
Messages
51
Region is correct.
I want revive Neutral Hostile Hero and create neutral hostile units.
It creates neutral hostile units but doeasn´t revive neutral hostile hero

if do u want it revive hero u must use this:

  • Events
  • Unit - Infernal 0019 <gen> Dies
if u dont select dies hero this trigger dosent work:

  • Hero - Instantly revive ................. at (Random point in ................), Show revival graphics
this trigger doesnt work with up trigger:

  • Events
  • Player - Player 1 (Red) types a chat message containing /reset city
u must chang your Events
 
Level 4
Joined
Dec 14, 2009
Messages
48
if do u want it revive hero u must use this:

  • Events
  • Unit - Infernal 0019 <gen> Dies
if u dont select dies hero this trigger dosent work:

  • Hero - Instantly revive ................. at (Random point in ................), Show revival graphics
this trigger doesnt work with up trigger:

  • Events
  • Player - Player 1 (Red) types a chat message containing /reset city
u must chang your Events


hmm lol but THX to all
 
Status
Not open for further replies.
Top