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.
If player name is equal to your name then create dialog with extra button, else create normal dialog.
(To put it very simple.)
Special

Events


Time - Elapsed game time is 10.00 seconds

Conditions

Actions


Set AllPlayers = (All players)


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



Loop - Actions




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





If - Conditions






Or - Any (Conditions) are true







Conditions








(Name of (Picked player)) Equal to Quazaka








(Name of (Picked player)) Equal to Xiroc





Then - Actions






Player Group - Add (Picked player) to SpecialPlayers






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







Loop - Actions








-------- Special Dialog --------








Dialog - Show SpecialDialog for (Picked player)





Else - Actions






Player Group - Pick every player in (All players matching (((Matching player) is in SpecialPlayers) Equal to False)) and do (Actions)







Loop - Actions








-------- Normal Dialog --------








Dialog - Show NormalDialog for (Picked player)


Custom script: Call DestroyForce(udg_AllPlayers)

Well, here is the trigger I wrote for you, but you will have to add your own dialog triggers to it ^^
It's not that hard actually.. For the conditions thing, from the drop down menu (type of condition) chose String Comparison and then Player - Player Name. Hope that helped
Special
Events
Time - Elapsed game time is 10.00 seconds
Conditions
Actions
Set AllPlayers = (All players)
Player Group - Pick every player in AllPlayers and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Name of (Picked player)) Equal to Quazaka
(Name of (Picked player)) Equal to Xiroc
Then - Actions
Player Group - Add (Picked player) to SpecialPlayers
Player Group - Pick every player in SpecialPlayers and do (Actions)
Loop - Actions
-------- Special Dialog --------
Dialog - Show SpecialDialog for (Picked player)
Else - Actions
Player Group - Pick every player in (All players matching (((Matching player) is in SpecialPlayers) Equal to False)) and do (Actions)
Loop - Actions
-------- Normal Dialog --------
Dialog - Show NormalDialog for (Picked player)
Custom script: Call DestroyForce(udg_AllPlayers)
![]()
Well, here is the trigger I wrote for you, but you will have to add your own dialog triggers to it ^^
It's not that hard actually.. For the conditions thing, from the drop down menu (type of condition) chose String Comparison and then Player - Player Name. Hope that helped
Special
Events
Time - Elapsed game time is 10.00 seconds
Conditions
Actions
Set AllPlayers = (All players)
Player Group - Pick every player in AllPlayers and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Name of (Picked player)) Equal to Quazaka
(Name of (Picked player)) Equal to Xiroc
Then - Actions
Player Group - Add (Picked player) to SpecialPlayers
Player Group - Pick every player in SpecialPlayers and do (Actions)
Loop - Actions
-------- Special Dialog --------
Dialog - Show SpecialDialog for (Picked player)
Else - Actions
Player Group - Pick every player in (All players matching (((Matching player) is in SpecialPlayers) Equal to False)) and do (Actions)
Loop - Actions
-------- Normal Dialog --------
Dialog - Show NormalDialog for (Picked player)
Custom script: Call DestroyForce(udg_AllPlayers)
![]()
Special

Events


Time - Elapsed game time is 10.00 seconds

Conditions

Actions


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



Loop - Actions




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





If - Conditions






Or - Any (Conditions) are true







Conditions








(Name of (Picked player)) Equal to Quazaka








(Name of (Picked player)) Equal to Xiroc





Then - Actions






Dialog - Show SpecialDialog for (Picked player)





Else - Actions






Dialog - Show NormalDialog for (Picked player)
Thanks Alot!
Btw, do this work for LAN ? If eny one call himself Quazake all will get anable to pick the hero? ;P
