Duel timer... Etc.

Aqkastik

New Member
Reaction score
0
I have a question about Duel timers http://www.thehelper.net/forums/showthread.php?t=129407&highlight=DUel
Its because i already have a Hero Revive countdown window and i wonder when i set some of the triggers to last Set DuelTimerWindow = (Last created timer window)
will these two triggers somehow affect eachother and if yes is there a way i can fix it? Ehm and how does i make the variable "AllHeroes" Ghan 04 mention? . Thanks

Aqkastik
 

Eyonix

TH.net Regular
Reaction score
16
It is possible for them to mess up, but only if they run at the same exact time. So if you create the window then set the variable in the next line, it should be fine. and the AllHeroes Variable is a Unit Group Variable and TheHeroes is just a Unit Variable.
 

Aqkastik

New Member
Reaction score
0
Thanks alot Eyonix (; god bless ya xD maybe i can finish this annoying part of the map xD

Ehm how do i write the region down? Set TempPoint = <The Region>?

NVM But the TempPoint variable is a region variable right?

http://www.thehelper.net/forums/show...highlight=DUel
I have three errors : Invalid argument type (rect) - call RemoveLocation(udg_TempPoint)

line 1147: Expected a code statement (rect) - ... the line is blank.

Expected a function name (rect) - call TriggerAddAction( gg_trg_Duel_Timer_Expires, function Trig_Duel_Timer_Expires_Actions )

Anyone can tell me why?
 

jackall

You can change this now in User CP.
Reaction score
37
TempPoint is actually a point, not a region so you have to call the funtion to remove points
 

Aqkastik

New Member
Reaction score
0
Thanks alot now i only have 1 error = line 77 expected a name - call RemoveLocation(udg_TempPoint)
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
890
Do you have a Point variable called TempPoint in the Variable Editor? (Case matter with variable names.)
 

Aqkastik

New Member
Reaction score
0
Ghan did you know i love you (; xD just worked... lol dindt even Change anything just retyped it. Cool but i was wondering can i make a trigger that sends me back? like to where you was before. And Aint there a chance that two allied hero's will be chosen?
 

jackall

You can change this now in User CP.
Reaction score
37
if you want the heroes to go back to the owners' start locations use this in the "after-duel"(when the duel ends) trigger
Trigger:
  • Unit - Move (YourUnit) instantly to ((Owner) start location)
 

Aqkastik

New Member
Reaction score
0
How does that trigger looks like? xD i am not so good with triggers. And I have another problem i've just tryed the map and it seems that i was right ( sometimes the random picker pick 2 allies ) what you think i should do about that?
 

jackall

You can change this now in User CP.
Reaction score
37
Trigger:
  • winner of match
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Number of units in (Units in Arena)) Equal to 1
    • Actions
      • Game - Display to (All players) the text: (The winner of this duel is: + (Name of Player 1 (Red)))

add actions before or after the Game - Display...

Trigger:
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Fighter1 is in Force1) Equal to True
      • (Fighter2 is in Force2) Equal to True
    • Then - Actions
    • Else - Actions


saa(same as above) add actions after the "Then - Actions" tag:)P dunno what its called)
 

Yoshii

New Member
Reaction score
74
that trigger is wrong jackall ; what if the winning hero has a unit summoned? the number of unit=1 have to be an hero via matching unit is a hero.

and the lower trigger doesnt make any sense
 

jackall

You can change this now in User CP.
Reaction score
37
well... i supposed he will set the Fighter1 and Fighter 2 before the duel(he pick the random players, then their heroes)
A.N.D. i know im so good in triggering, im begginer->intermediate :p
 

Aqkastik

New Member
Reaction score
0
Ehm anyone know what i should do... so first of all its not 2 allies summoned and teleport back the winner?
 

Aqkastik

New Member
Reaction score
0
What should i do for it wasnt two allies but Opponents and teleport out of arena back to home?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top