- Joined
- Oct 17, 2012
- Messages
- 859
I have attempted many times in creating a duel system, where it takes two random players from different forces. Unfortunately, I keep failing. So, can anyone help me get this duel system started or link to a system made already? The real problem that I am having is how to take two random players' units and move them.
Perhaps, I should show you what I have done thus far.
Perhaps, I should show you what I have done thus far.
-
DS Begins
-
Events
-
Time - DuelTimer expires
-
-
Conditions
-
Actions
-
Game - Display to (All players) the text: Two have been chose...
-
Countdown Timer - Destroy DuelTimerWindow
-
Set bDuel = True
-
Do Multiple ActionsFor each (Integer i) from 1 to 3, do (Actions)
-
Loop - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Dueler1 Equal to (==) (Player(i))
-
-
Then - Actions
-
Set Team1Hero = i
-
-
Else - Actions
-
-
-
-
-
Set Team1Dueler = Heroes[Team1Hero]
-
Unit - Move Team1Dueler instantly to DuelerPosition1
-
Custom script: call RemoveLocation (udg_DuelerPosition1)
-
Do Multiple ActionsFor each (Integer i) from 7 to 9, do (Actions)
-
Loop - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Dueler2 Equal to (==) (Player(i))
-
-
Then - Actions
-
Set Team2Hero = i
-
-
Else - Actions
-
-
-
-
-
Set Team2Dueler = Heroes[Team2Hero]
-
Unit - Move Team2Dueler instantly to DuelerPosition2
-
Custom script: call RemoveLocation (udg_DuelerPosition2)
-
-