If player name is equal to your name then create dialog with extra button, else create normal dialog.
(To put it very simple.)
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)
![]()
Thanks Alot!
Btw, do this work for LAN ? If eny one call himself Quazake all will get anable to pick the hero? ;P