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

Duel triggers

Status
Not open for further replies.
I don't arrived to create a trigger who teleport hero in a part of the map and fight 2 by 2 , after all fight :wink:
 
Events
blahblahblahblah
Conditions
blahblahblahblah
Actions
Unit - Pause All Units
For Each Integer A from 1 to 2
Loop - Actions
Set loc = (where you want your guy to teleport to)
Move avariable[Random Integer Between 1 and 6] to loc, blah blah blah
Custom Script: call RemoveLocation( udg_loc )
(end of For loop)
For Each Integer A from 1 to 2
Loop - Actions
Set loc = (where you want your guy to teleport to)
Move avariable[Random Integer Between 7 and 12] to loc, blah blah blah
Custom Script: call RemoveLocation( udg_loc )
(end of For loop)

Wait x seconds

Custom Script: set bj_wantDestroyGroup = true
Pick every unit in (duel area) and...
Unpause Picked Unit

...

and so on ( gotta add the Duel Ends trigger here )
 
Status
Not open for further replies.
Back
Top