Difference between revisions of "Dialog Items"

From HIVE
Jump to navigation Jump to search
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
'''Dialog Items''' are any piece of information that contains a [[Dialog]].
 
'''Dialog Items''' are any piece of information that contains a [[Dialog]].
  
==Dialog Item Types==
+
=Dialog Item Types=
 
With the '''Create Dialog Item''' [[trigger]] action, you can decide to create any of these type of Dialog Item (but keep in mind you must attach any Dialog Item with a Dialog):
 
With the '''Create Dialog Item''' [[trigger]] action, you can decide to create any of these type of Dialog Item (but keep in mind you must attach any Dialog Item with a Dialog):
 
*'''Achievement''': <span style="color:#FF0000">??</span>
 
*'''Achievement''': <span style="color:#FF0000">??</span>
Line 33: Line 33:
  
  
==Screen Button vs Button Type==
+
=Screen Button vs Button Type=
Standard dialog button items can do everything a screen button can do, except change transparency via the Flash Screen Button trigger. The Flash Screen Button trigger causes a screen button to change between two colors at the specified interval. Screen buttons can not be attached to a dialog, whereas dialog buttons require being attached to a dialog. Screen buttons can be hidden or shown for specific players by using the Show/Hide Dialog trigger; they cannot be hidden or shown for specific players with the Show/Hide Screen Button trigger. Screen buttons can have borders set.
+
*Standard dialog button items can do everything a screen button can do, except change transparency via the Flash Screen Button trigger. The Flash Screen Button trigger causes a screen button to change between two colors at the specified interval.
 +
*Screen buttons can not be attached to a dialog, whereas dialog buttons require being attached to a dialog.
 +
*Screen buttons can be hidden or shown for specific players by using the Show/Hide Dialog trigger; they cannot be hidden or shown for specific players with the Show/Hide Screen Button trigger.
 +
*Screen buttons can have borders set.
  
==Screen Images==
+
=Screen Images=
 
Screen Images are the same as Screen Buttons except they are images, and aren't interactive in the same way as buttons are. The same properties apply with Screen Images; the exceptions being screen images can't have a border set, and screen images have the Pulse Screen Image instead of the Flash Screen Button trigger. The Pulse Screen Image causes a screen image to change between two specified transparency values at the specified interval.
 
Screen Images are the same as Screen Buttons except they are images, and aren't interactive in the same way as buttons are. The same properties apply with Screen Images; the exceptions being screen images can't have a border set, and screen images have the Pulse Screen Image instead of the Flash Screen Button trigger. The Pulse Screen Image causes a screen image to change between two specified transparency values at the specified interval.
  
==See Also==
+
=See Also=
 
*[[Custom UI]]
 
*[[Custom UI]]
 +
*[[Dialog Background]]
  
 
[[Category:StarCraft II]]
 
[[Category:StarCraft II]]
 
[[Category:Triggers]]
 
[[Category:Triggers]]
 
[[Category:Reference]]
 
[[Category:Reference]]

Latest revision as of 21:34, 8 April 2012

Dialog Items are any piece of information that contains a Dialog.

Dialog Item Types

With the Create Dialog Item trigger action, you can decide to create any of these type of Dialog Item (but keep in mind you must attach any Dialog Item with a Dialog):

  • Achievement: ??
  • Button: Self-explanatory.
  • Check Box: Self-explanatory.
  • Edit Box: ??
  • Flash: ??
  • Image: Self-explanatory.
  • Label: A simple text
  • List Box: This will let you create a list of items that the players will choose from.
  • Progress Bar: ??
  • Pulldown: ??
  • Slider: Self-explanatory.


However, if you want to create one of the following types, you probably want to use their specific trigger action (named "Create Dialog Item (x)", where "x" is the Dialog Item's Type):

  • Achievement
  • Button
  • Check Box
  • Image
  • Label

Using those "specific" trigger actions will directly let you choose the values of the required fields for these Types to display properly (for example, you could've created a Button Dialog Item, but you still wouldn't have set it's dimensions).

Warning

When you create a Dialog Item, it automatically shows itself on the screen of the players. However, it isn't considered as Enabled, Disabled, Shown or Hidden by GalaxyEdit. This means that if you've just created a Dialog Item and have a trigger detecting whenever it is pressed by a player while it is "Shown", it will give you an error even if it appears on the screen as being shown.

In order to be able to detect these states to make better interaction between the players and the Dialog Items, it is recommended to set these fundamental states via the following trigger actions:

  • Enable/Disable Dialog Item
  • Show/Hide Dialog Item


Screen Button vs Button Type

  • Standard dialog button items can do everything a screen button can do, except change transparency via the Flash Screen Button trigger. The Flash Screen Button trigger causes a screen button to change between two colors at the specified interval.
  • Screen buttons can not be attached to a dialog, whereas dialog buttons require being attached to a dialog.
  • Screen buttons can be hidden or shown for specific players by using the Show/Hide Dialog trigger; they cannot be hidden or shown for specific players with the Show/Hide Screen Button trigger.
  • Screen buttons can have borders set.

Screen Images

Screen Images are the same as Screen Buttons except they are images, and aren't interactive in the same way as buttons are. The same properties apply with Screen Images; the exceptions being screen images can't have a border set, and screen images have the Pulse Screen Image instead of the Flash Screen Button trigger. The Pulse Screen Image causes a screen image to change between two specified transparency values at the specified interval.

See Also