• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Duel request

Status
Not open for further replies.
Level 3
Joined
Dec 12, 2008
Messages
41
Duel request

Hi, im making a hero arena, but what's a hero arena with out duels?
if some one wishes to help me for my project what i wil need is something like this:
-every 6 minutes 2 random heros(on from each team) are chosen and warped to an area(i alredy did the are)
-They will stay there until one of them dies
-when someone dies the other player will be warped back at his base

i would like this to be done with only trigers/jass no tird party programs

:grin:
 
simple for you.... im not that good at triggers, could you plzzz help me by doing it, it wont take that long for someone that goodmaybe 20-30 mins or less idk... Me it would take me abouth 6hours searching for the good triggers
 
Well I gotta re-install it :/

  • Events
  • Melee Initialization
  • Conditions
  • Actions
  • Set Counter = 1
  • Set UnitGroupA = units in playable map area
  • Unit - pick all units in unit group(UnitGroupA)
    • Set picked unit = CustomValueIntegerVariable(counter)
    • Set Counter = Counter + 1
  • Events
  • Periodic Event - Every 2 seconds
  • Conditions
  • BattleBoolean = false
  • Actions
  • Set BattleBoolean = true
  • For each integer X do action 1 - 2
  • Pick randomunit in unit group (UnitGroupA)
    • If/then/else
      • Condition
        • CustomValueBoolean(custom value of unit(picked unit)) = false
      • then
        • set CustomValueBoolean(custom value of unit(picked unit)) = True
          • if/then/else
            • conditions
              • BattleUnit1Selected = False
            • then
              • set battleunit1selectedboolean = True
              • Set BattleUnit(1) = Picked Unit
            • else
              • Set BattleUnit(2) = Picked Unit
              • Move BattleUnit(1) to location X
              • Move BattleUnit(2) to location Y
      • else
  • Set Aspect of Alliance - Owner of unit(battleunit(1) = enemy of battleunit(2))
  • Set Aspect of Alliance - Owner of unit(battleunit(2) = enemy of battleunit(1))
 
Status
Not open for further replies.
Back
Top