• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Duel triggers

Status
Not open for further replies.
Level 5
Joined
May 21, 2006
Messages
145
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:
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
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.
Top