Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Hashtable - Save Handle Of(Triggering player) as 3 of 3 in DS_Hashtable
Game - Display to (All players) for 30.00 seconds the text: (String((Player number of DS_StartingPlayerT1)))
Game - Display to (All players) for 30.00 seconds the text: (String((Player number of DS_AcceptingPlayerT2)))
Game - Display to (All players) for 30.00 seconds the text: (Name of DS_SetHero[(Player number of DS_StartingPlayerT1)])
Game - Display to (All players) for 30.00 seconds the text: (Name of DS_SetHero[(Player number of DS_AcceptingPlayerT2)])
Outcome1

Events


Dialog - A dialog button is clicked for DS_AcceptReject[1]

Conditions

Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Clicked dialog button) Equal to DS_Yes



Then - Actions




-------- Saveing the triggering player --------




Set DS_AcceptingPlayerT2 = (Triggering player)




-------- Moving the heroes to dual area --------




Game - Display to (All players) for 30.00 seconds the text: (String((Player number of DS_StartingPlayerT1)))




Game - Display to (All players) for 30.00 seconds the text: (String((Player number of DS_AcceptingPlayerT2)))




Game - Display to (All players) for 30.00 seconds the text: (Name of DS_SetHero[(Player number of DS_StartingPlayerT1)])




Game - Display to (All players) for 30.00 seconds the text: (Name of DS_SetHero[(Player number of DS_AcceptingPlayerT2)])




Set DS_TempPoint1 = (Center of Team1 dual location <gen>)




Unit - Move DS_SetHero[(Player number of DS_StartingPlayerT1)] instantly to DS_TempPoint1




Set DS_TempPoint2 = (Center of Team2 dual location <gen>)




Unit - Move DS_SetHero[(Player number of DS_AcceptingPlayerT2)] instantly to DS_TempPoint2




Custom script: call RemoveLocation (udg_DS_TempPoint1)




Custom script: call RemoveLocation (udg_DS_TempPoint2)




-------- Turning DS_Dual on so trigger will know a dual is going --------




Set DS_DualOn = True



Else - Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Clicked dialog button) Equal to DS_No



Then - Actions




-------- Not need unless you want something like it --------




Set DS_TempGroup = (All allies of Player 1 (Red))




Player Group - Pick every player in DS_TempGroup and do (Actions)





Loop - Actions






Player - Add 500 to (Picked player) Current gold




Custom script: call DestroyForce (udg_DS_TempGroup)



Else - Actions
it moved my hero i was player 1
