Dialog Items

From HIVE
Jump to navigation Jump to search

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. The reason a screen button exists seems to be so that it is more simple to add button without a background. 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.

See Also