X-maul
AKA: Demtrod
- Reaction score
- 201
Code:
Preview Hero
Events
Dialog - Any Dialog Item is used by Player Any Player with event type Clicked
Local Variables
Conditions
Or
Conditions
(Used dialog item) == ButtonKarass
(Used dialog item) == ButtonSchlar
(Used dialog item) == ButtonHrun
(Used dialog item) == ButtonTinker
(Used dialog item) == ButtonMalqi
(Used dialog item) == ButtonGunnar
(Used dialog item) == ButtonXenon
(Used dialog item) == ButtonEnzi
(Used dialog item) == ButtonZetax
(Used dialog item) == ButtonHelios
(Used dialog item) == ButtonKrain
(Used dialog item) == ButtonBalthu
Actions
General - Switch (Actions) depending on (Used dialog item)
Cases
General - If (ButtonKarass)
Actions
Dialog - Destroy Hero Image[(Triggering player)]
Dialog - Create an image for dialog Hero Dialog with the dimensions (200, 300) anchored to Top Right with an offset of (222, 150) setting the tooltip to "" using the image Assets\Textures\karassportrait_static.dds as a Normal type with tiled set to False tint color White and blend mode Normal
Variable - Set Hero Image[(Triggering player)] = (Last created dialog item)
General - If (ButtonSchlar)
Actions
Dialog - Destroy Hero Image[(Triggering player)]
Dialog - Create an image for dialog Hero Dialog with the dimensions (200, 300) anchored to Top Right with an offset of (222, 150) setting the tooltip to "" using the image Assets\Textures\hydraliskportrait_static.dds as a Normal type with tiled set to False tint color White and blend mode Normal
Variable - Set Hero Image[(Triggering player)] = (Last created dialog item)
Default