My trigger event is when a player presses down the 'tab' key. The action is show all leaderboards for player group Triggering player. However the Leaderboard only shows when you set it to 'show all leaderboards to all players'
Not sure why this is, but maybe the fact your are showing ALL leaderboards to the triggering player and not a specific one has something to do with it. Try setting your created leaderboard to a variable and then showing that specific leaderboard with the action "Show/Hide Leaderboard".
show us the code please, maybe the leaderboard is bugged like everything related to the shitty native leaderboards. rather create your own with dialogs.
show us the code please, maybe the leaderboard is bugged like everything related to the shitty native leaderboards. rather create your own with dialogs.
That.
Just checked it myself, and "triggering player" does work with the "key pressed" command.
You are doing something wrong that is not in that event or that action.
So now that I know my map is bugged beyond repair. Are there any work arounds that might trick the editor into showing the Leaderboard to the triggering player?
It isnt your map, it is something you did. There is no work around for making a proper function work properly. You set something up improperly. Post the code for everything related to your leaderboard. The work around is creating a leaderboard that works. The best way to do that is by creating a custom dialog, and not using the leaderboard. If you insist on using a leaderboard, you need to use it properly. You are not using it properly.
Yes, as has been said 6 times now. It is not the trigger you have above that is not working, it is something in your leaderboard, or elsewhere that is causing it to fail.
I have never found someone so unwilling to take the help they are adamantly seeking.
Thank you for your consideration GlornII,
im really glad that there are people willing to help with this problem. Here is my trigger for the leaderboard itself.
Events
Game - Map initialization
Actions
Leaderboard - Create a Leaderboard with 6 columns and 10 rows, with the name ''Leaderboard'', and using (100%, 100%, 100%) color.
Variable - Set Leaderboard = (Last created leaderboard)
Leaderboard - Anchor (Last created leaderboard) to the Center of the screen, offset by (0,0)
Leaderboard - Hide Leaderboard minimize button for (all players)
Leaderboard - Set width of 2 column in Leaderboard to 15.0 (% of the screen)
Leaderboard - Set width of 3 column in Leaderboard to 15.0 (% of the screen)
Leaderboard - Set width of 4 column in Leaderboard to 15.0 (% of the screen)
Leaderboard - Set width of 5 column in Leaderboard to 15.0 (% of the screen)
Leaderboard - Set width of 6 column in Leaderboard to 15.0 (% of the screen)
Leaderboard - Set leaderboard item text at column 1 and row Header to ''Player Name''
Leaderboard - Set leaderboard item text at column 2 and row Header to ''Kills''
Leaderboard - Set leaderboard item text at column 3 and row Header to ''Deaths''
Leaderboard - Set leaderboard item text at column 4 and row Header to ''Minion Kills''
Leaderboard - Set leaderboard item text at column 5 and row Header to ''Damage Dealt''
Leaderboard - Set leaderboard item text at column 6 and row Header to ''Damage Taken''
General - Pick each integer from 1 to 10, and do (Actions)
Actions
Leaderboard - Add player (Picked integer) to Leaderboard
Leaderboard - Set Leader item text at column 1 and row (picked integer) to (Name of player (Picked integer)
Leaderboard - Set Leader item text at column 2 and row (picked integer) to 0
Leaderboard - Set Leader item text at column 3 and row (picked integer) to 0
Leaderboard - Set Leader item text at column 4 and row (picked integer) to 0
Leaderboard - Set Leader item text at column 5 and row (picked integer) to 0
Leaderboard - Set Leader item text at column 6 and row (picked integer) to 0
General - If (Conditions) then do (Actions) else do (Actions)
If
(Status of player (Picked integer)) !=Playing
Then
Leader - Set Leaderboard item text at column 1 and row (Picked integer) to ''Not Playing''
Else
Leaderboard - Hide all leaderboards for (All players)
so i started the editor and did some leaderboard stuff which i did 5 years ago the last time. as i said, leaderboards are highly limited, you should really get your own.
to the problem, the native show leaderboards is bugged. it doesnt work but status of leaderboard does work. here is the map
Thank you so much FunkyUserNarr, I will create a dialog Leaderboard at some point for additional customization. I just have so much work to do on my map I'll use this temporary one until I learn how to create a dialog version.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello friends,
My trigger event is when a player presses down the 'tab' key. The action is show all leaderboards for player group Triggering player. However the Leaderboard only shows when you set it to 'show all leaderboards to all players'
Where am I going wrong?
@KradDrol1:
Not sure why this is, but maybe the fact your are showing ALL leaderboards to the triggering player and not a specific one has something to do with it. Try setting your created leaderboard to a variable and then showing that specific leaderboard with the action "Show/Hide Leaderboard".
show us the code please, maybe the leaderboard is bugged like everything related to the shitty native leaderboards. rather create your own with dialogs.
Lol this doesn't sound like good news. I tried using a Leaderboard variable and showing the specific leaderboard. That didn't work.
Event: UI - player 'any player' presses the 'tab' key 'down', with shift 'enabled', ctrl 'enabled', alt 'enabled'
Action: Show all leaderboards for player group triggering player
What should I do to fix this problem?
That.
Just checked it myself, and "triggering player" does work with the "key pressed" command.
You are doing something wrong that is not in that event or that action.
Skype: [email protected] Current Project: Custom Hero Arena! US: battlenet:://starcraft/map/1/263274 EU: battlenet:://starcraft/map/2/186418
So now that I know my map is bugged beyond repair. Are there any work arounds that might trick the editor into showing the Leaderboard to the triggering player?
It isnt your map, it is something you did. There is no work around for making a proper function work properly. You set something up improperly. Post the code for everything related to your leaderboard. The work around is creating a leaderboard that works. The best way to do that is by creating a custom dialog, and not using the leaderboard. If you insist on using a leaderboard, you need to use it properly. You are not using it properly.
Skype: [email protected] Current Project: Custom Hero Arena! US: battlenet:://starcraft/map/1/263274 EU: battlenet:://starcraft/map/2/186418
This is my exact trigger written down:
Events UI - Player Any Player presses Tab key Down with shift Allow, control Allow, alt Allow
Actions Show Leaderboard for (Player group ((Triggering player))
Would you like to see my actual leaderboard?
Yes, as has been said 6 times now. It is not the trigger you have above that is not working, it is something in your leaderboard, or elsewhere that is causing it to fail.
I have never found someone so unwilling to take the help they are adamantly seeking.
Skype: [email protected] Current Project: Custom Hero Arena! US: battlenet:://starcraft/map/1/263274 EU: battlenet:://starcraft/map/2/186418
Thank you for your consideration GlornII, im really glad that there are people willing to help with this problem. Here is my trigger for the leaderboard itself.
Events
Game - Map initialization
Actions
Leaderboard - Create a Leaderboard with 6 columns and 10 rows, with the name ''Leaderboard'', and using (100%, 100%, 100%) color.
Variable - Set Leaderboard = (Last created leaderboard)
Leaderboard - Anchor (Last created leaderboard) to the Center of the screen, offset by (0,0)
Leaderboard - Hide Leaderboard minimize button for (all players)
Leaderboard - Set width of 2 column in Leaderboard to 15.0 (% of the screen)
Leaderboard - Set width of 3 column in Leaderboard to 15.0 (% of the screen)
Leaderboard - Set width of 4 column in Leaderboard to 15.0 (% of the screen)
Leaderboard - Set width of 5 column in Leaderboard to 15.0 (% of the screen)
Leaderboard - Set width of 6 column in Leaderboard to 15.0 (% of the screen)
Leaderboard - Set leaderboard item text at column 1 and row Header to ''Player Name''
Leaderboard - Set leaderboard item text at column 2 and row Header to ''Kills''
Leaderboard - Set leaderboard item text at column 3 and row Header to ''Deaths''
Leaderboard - Set leaderboard item text at column 4 and row Header to ''Minion Kills''
Leaderboard - Set leaderboard item text at column 5 and row Header to ''Damage Dealt''
Leaderboard - Set leaderboard item text at column 6 and row Header to ''Damage Taken''
General - Pick each integer from 1 to 10, and do (Actions)
Actions
Leaderboard - Add player (Picked integer) to Leaderboard
Leaderboard - Set Leader item text at column 1 and row (picked integer) to (Name of player (Picked integer)
Leaderboard - Set Leader item text at column 2 and row (picked integer) to 0
Leaderboard - Set Leader item text at column 3 and row (picked integer) to 0
Leaderboard - Set Leader item text at column 4 and row (picked integer) to 0
Leaderboard - Set Leader item text at column 5 and row (picked integer) to 0
Leaderboard - Set Leader item text at column 6 and row (picked integer) to 0
General - If (Conditions) then do (Actions) else do (Actions)
If
(Status of player (Picked integer)) !=Playing
Then
Leader - Set Leaderboard item text at column 1 and row (Picked integer) to ''Not Playing''
Else
Leaderboard - Hide all leaderboards for (All players)
so i started the editor and did some leaderboard stuff which i did 5 years ago the last time. as i said, leaderboards are highly limited, you should really get your own.
to the problem, the native show leaderboards is bugged. it doesnt work but status of leaderboard does work. here is the map
Thank you so much FunkyUserNarr, I will create a dialog Leaderboard at some point for additional customization. I just have so much work to do on my map I'll use this temporary one until I learn how to create a dialog version.