HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Will these triggers work properlly???

08-07-2003, 12:33 AM#1
lordwiggin
ok im currently setting up a team vs team duel in my hero arena and i need to no if these triggers will work properly


---------- this is to set up team 2 unit group----------
events
unit-a unit enters duelteam2fighter <gen>

conditions
((owner of(triggering unt)) is an all of player 7(green)) equal to true
((owner of(triggering unt)) is an all of player 8(pink)) equal to true
((owner of(triggering unt)) is an all of player 9(grey)) equal to true
((owner of(triggering unt)) is an all of player 10(light blue)) equal to true
((owner of(triggering unt)) is an all of player 11(dark green)) equal to true
((owner of(triggering unt)) is an all of player 12(brown)) equal to true

actions
unit group-add (entering unit) to team2duel

-------------- to run the loseing 4 team 2-----------------

events
time-every 2.00 seconds of the game

condition
bduel equal to true
(All units of Team2duel are in DuelArena <gen> ) Equal to False

action
Trigger - Run End Duel <gen> (ignoring conditions)


thats the triggers 4 team 2 just change the numbers and colers if u want team 1
08-07-2003, 12:52 AM#2
xXL33t-DragonXx
For your 1st trigger. I don't think that'll work. The game will check if all conditions are true, and I think you only want one of the conditions to be true for each player? Right? In that case you'll want to use the multiple OR conditions. For your second trigger I'd help you, but I don't know what "bduel" means.
08-07-2003, 12:59 AM#3
lordwiggin
bduels a bolean variable the start duel trigger sets it to true so the triggers know the duel is running