I had this friend that wanted to help me make a hero selection screen. I managed to implement just about everything, but the problem is I want one of the players to NOT see this screen. I've already hidden the dialogs and stuff, but he also has actions that say this...
Display image # of size (#,#) with image "..." using blend mode... blah blah
Point is it creates an image for the hero selection screen. The problem I'm having is finding a way to hide these images, but only for 1 player. How can I fix this?
A screen image actually is a dialog item, but its implementation is hidden (they are implemented with the GUI in the buit-in library). As there is no function which can show/hide such an image just for a few players, you shouldn't use screen images and instead create a dialog containing your image.
1- Add Action: Show/Hide Dialog Item , Set it to Hide : p
2- Change the Dialog Item to "Screen Image Dialog Item" from "Functions", Choose the Image Number (You can get it from the Trigger that Created the Screen Image).
3- Change the Player to "Convert Player to Player Group" From Functions.
If you hide the Screen Image using Hide Screen Image for All Players, you wont be able to show it again as a Dialog item
you'll have to create it again Display Screen Image with the same properties right after you hide it in order to be able to show it again as a dialog item
I had this friend that wanted to help me make a hero selection screen. I managed to implement just about everything, but the problem is I want one of the players to NOT see this screen. I've already hidden the dialogs and stuff, but he also has actions that say this...
Display image # of size (
#,
#) with image "..." using blend mode... blah blahPoint is it creates an image for the hero selection screen. The problem I'm having is finding a way to hide these images, but only for 1 player. How can I fix this?
You can set the visibility of a dialog item for a playergroup. So you can make it invisible for all players but 1.
Well, I tried hiding it as a dialog item, but it doesn't seem to be a dialog item.
I'm so stuck... :(
Edit: Actually...since it says to create a NEW image that's not attached to a dialog. It might be considered a dialog itself. Lemme try that.
A screen image actually is a dialog item, but its implementation is hidden (they are implemented with the GUI in the buit-in library). As there is no function which can show/hide such an image just for a few players, you shouldn't use screen images and instead create a dialog containing your image.
You can Hide a Scrren Image for a Specific Player !
Here is the Trigger:
Dialog - Hide (Screen image 1 dialog item) for (Player group((Triggering player)))
1- Add Action: Show/Hide Dialog Item , Set it to Hide : p
2- Change the Dialog Item to "Screen Image Dialog Item" from "Functions", Choose the Image Number (You can get it from the Trigger that Created the Screen Image).
3- Change the Player to "Convert Player to Player Group" From Functions.
4- Choose "Triggering Player" from "Functions".
1 More thing.
If you hide the Screen Image using Hide Screen Image for All Players, you wont be able to show it again as a Dialog item
you'll have to create it again Display Screen Image with the same properties right after you hide it in order to be able to show it again as a dialog item