Difference between revisions of "Dialog Items"

From HIVE
Jump to navigation Jump to search
(Created page with "'''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 ...")
 
Line 14: Line 14:
 
*'''Pulldown''': <span style="color:#FF0000">??</span>
 
*'''Pulldown''': <span style="color:#FF0000">??</span>
 
*'''Slider''': Self-explanatory.
 
*'''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):
 
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):
Line 30: Line 31:
 
*Enable/Disable Dialog Item
 
*Enable/Disable Dialog Item
 
*Show/Hide Dialog Item
 
*Show/Hide Dialog Item
 +
  
 
==Screen Button vs Button Type==
 
==Screen Button vs Button Type==
Line 37: Line 39:
 
==See Also==
 
==See Also==
 
*[[Custom UI]]
 
*[[Custom UI]]
*[[Dialogs]]
 
  
 
[[Category:StarCraft II]]
 
[[Category:StarCraft II]]

Revision as of 21:02, 27 November 2010

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: ??
  • 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

This section is a stub. You can help out by adding more information.


See Also