• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

2 (two) (dos) (deux) Questions

Status
Not open for further replies.
Level 12
Joined
Nov 24, 2005
Messages
922
1st Question: I had made a minimap image, I had imported it following a tutorial, but then whenever I tried to play the map Warcraft 3 crashed. Any ideas and/or tips?

2nd Question: I always wanted to know how people made it so when a dialog box pops up a second time it is not double...

Thanks a lot :)
 
Level 5
Joined
Nov 17, 2005
Messages
165
Your minimap problem might have something to do with alpha channels. Click here and scroll down to the last headline ("My Icons Don't Work"), or just read this quote:
Darg @ World Editor Tutorials said:
Crash: TGA with saved alpha channels.
Helpful?

Regarding your second question, please explain. I can't see what you mean.
Healingpoison said:
... when a dialog box pops up a second time it is not double...
:s
 
Level 12
Joined
Nov 24, 2005
Messages
922
I'll check on the first one, and for the second question:

Ok, so the first time I trigger the dialog box it goes something like this:

Title: Well?
---------
Button: | Ok |
---------
Button: | No |


Second time I trigger it goes like so:

Title: Well?
---------
Button: | Ok |
---------
Button: | No |
---------
Button: | Ok |
---------
Button: | No |


Edit: Thanks a lot! VictorOfSweden! It worked! Of course I cant show you the minimap display but you will get a few rep points :D
 
Last edited:
Level 13
Joined
Jun 22, 2004
Messages
783
Healingpoison said:
I'll check on the first one, and for the second question:

Ok, so the first time I trigger the dialog box it goes something like this:

Title: Well?
---------
Button: | Ok |
---------
Button: | No |


Second time I trigger it goes like so:

Title: Well?
---------
Button: | Ok |
---------
Button: | No |
---------
Button: | Ok |
---------
Button: | No |


Edit: Thanks a lot! VictorOfSweden! It worked! Of course I cant show you the minimap display but you will get a few rep points :D

Regarding your second question, you need to hide the menu after used, and then show when used again (this only helps if the buttons still have the same effect like they did before)
 
Level 12
Joined
Nov 24, 2005
Messages
922
Ok... I'll give it a try...

I found the problem. All I did was moved where I created the dialog to a spot that created it at the start of the game, because everytime it went through the trigger it created a new button for each dialog button
 
Last edited:
Status
Not open for further replies.
Top