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

Help with Ress of Heroes!

Status
Not open for further replies.
Level 3
Joined
Aug 31, 2008
Messages
22
Hi all, that's the problem:
I've a trigger that gives me problem, but i don't understand what's wrong in it!


Events:
Unit - A unit is dead
Conditions:
And - All (Conditions) are true
Conditions: ((Dying Unit) is A hero) Equal to TRUE
((Owner of (Dying Unit)) controller ) Equal to USER


Actions:
Player Group - Pick every player in team_2 and do (Actions)
Row - Actions


Wait 5.00 seconds
Hero - Instantly revive (Dying Unit) at (center of Region 011 <gen>), Show revival Graphics
Camera - Pan Camera for (Owner of (Dying unit)) to (center of Region 011 <gen>) over 0.00 seconds
Selection - Select (Dying unit) for (Owner of (Dying unit))

Why the hell players in team_2 spawns in team_1's Spawn?
Help me please.
 
you can make it a lot easier
event:
unit has died
condition:
((Dying Unit) is A hero) Equal to TRUE
owner of dying unit equal to aly of player 1
action:
wait 5 seconds
Hero - Instantly revive (Dying Unit) at (center of Region 011 <gen>), Show revival Graphics
Camera - Pan Camera for (Owner of (Dying unit)) to (center of Region 011 <gen>) over 0.00 seconds
Selection - Select (Dying unit) for (Owner of (Dying unit))

this for one team


event:
unit has died
condition:
((Dying Unit) is A hero) Equal to TRUE
owner of dying unit equal to aly of player 7
action:
wait 5 seconds
Hero - Instantly revive (Dying Unit) at (center of Region 011 <gen>), Show revival Graphics
Camera - Pan Camera for (Owner of (Dying unit)) to (center of Region 011 <gen>) over 0.00 seconds
Selection - Select (Dying unit) for (Owner of (Dying unit))

this for second one but you must select different region then in first one of course
 
I'm convinced this would resolve my problem but i'm so retard that i can't find "ally of player 1"...How do i select it? ^^
 
thank you very much, problem solved! :)

+Reputation ^^

Argante, i have simpler thing for ya. one trigger

Event/Generic/unit dies

Condition/Bolean/ dying unit equal to hero = true

Action/IfThenElseMultipleFunctiones/
if/player/owner of dying unit = ally of team one
then/revive(dying unit)at spot/pan cam to spot/select

Action/IfThenElseMultipleFunctiones/
same as prwious but ally is team two

is this understandable o_O?
 
Status
Not open for further replies.
Back
Top