I am working on a mod witch will give a visual alert when the player is close to supply block.
The alert is given by a pulsing image (no dialog).
How can i make the image only appear for a specific player ? (The one who is close to supply block).
The problem is that the action « Dialog - Display image » do not have a player field.
So i can't use it to show the image to the specific player.
As it is now, the alert is displayed to all the players when a player is close to supply blocked.
So, do I have to use a dialog or i there any other solution ?
Yeah, it's better to create your own dialogs. Screen buttons/images are easier to use, but they'll limit you in the long run.
Screen buttons/images are actually just dialog items, provided by Blizzard as a convenience. You can check out the implementation of "Pulse Screen Image" in the Built-In library. Just enable View —> Show Libraries and navigate to the folder Built-In / Dialog / Screen Image. You can copy everything there, paste it into your document and modify it to suit your purposes.
Sorry for the late reply... I found it's much easier to just create your own dialog item and fade it manually, than adapting the screen image triggers.
How can I display the scripts when I am inside the built-in library ?
Most things in the built-in library have a native implementation which cannot be seen. However, the screen image stuff can be found in this folder: Built-In / Dialog / Screen Image.
Hi
I am working on a mod witch will give a visual alert when the player is close to supply block. The alert is given by a pulsing image (no dialog). How can i make the image only appear for a specific player ? (The one who is close to supply block).
Thank you in advance !
Convert Player To Player Group
Hi
The problem is that the action « Dialog - Display image » do not have a player field. So i can't use it to show the image to the specific player. As it is now, the alert is displayed to all the players when a player is close to supply blocked.
So, do I have to use a dialog or i there any other solution ?
Thank you.
Show/hide dialog item for player group.
Yeah, it's better to create your own dialogs. Screen buttons/images are easier to use, but they'll limit you in the long run.
Screen buttons/images are actually just dialog items, provided by Blizzard as a convenience. You can check out the implementation of "Pulse Screen Image" in the Built-In library. Just enable View —> Show Libraries and navigate to the folder Built-In / Dialog / Screen Image. You can copy everything there, paste it into your document and modify it to suit your purposes.
Thank you very much !
I am going to try all this !
How can I display the scripts when I am inside the built-in library ?
Sorry for the late reply... I found it's much easier to just create your own dialog item and fade it manually, than adapting the screen image triggers.
Here's a simple trigger I created for this: http://peeeq.de/gui.php?id=3916
Map is attached to this post.
Most things in the built-in library have a native implementation which cannot be seen. However, the screen image stuff can be found in this folder: Built-In / Dialog / Screen Image.
Thank you !