Difference between revisions of "Dialog Items"

From HIVE
Jump to navigation Jump to search
m
Line 34: Line 34:
  
 
==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==

Revision as of 12:39, 6 April 2011

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