DialogBox

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

Black-Hole
Forum Fanatic
Posts: 315
Joined: October 16th, 2007, 7:32 pm

DialogBox

Post by Black-Hole »

ROFL... i can almost do anything in gui except make Dialog Boxes ROFL... what is wrong with my 4 dialog boxes??? Do i need to make them in different triggers?
Spoiler:

Code: Select all

Game Start
    Events
        Time - Elapsed game time is 0.50 seconds
    Conditions
    Actions
        -------- Dialog Box 1 --------
        Dialog - Change the title of DialogBox[1] to Number of enemys?
        Dialog - Create a dialog button for DialogBox[1] labelled 120
        Set DialogButtons[1] = (Last created dialog Button)
        Dialog - Create a dialog button for DialogBox[1] labelled 160
        Set DialogButtons[2] = (Last created dialog Button)
        Dialog - Create a dialog button for DialogBox[1] labelled 200
        Set DialogButtons[3] = (Last created dialog Button)
        Dialog - Create a dialog button for DialogBox[1] labelled 240
        Set DialogButtons[4] = (Last created dialog Button)
        -------- Dialog Box 2 --------
        Wait 0.50 seconds
        Dialog - Change the title of DialogBox[2] to Number of Levels?
        Dialog - Create a dialog button for DialogBox[2] labelled 30
        Set DialogButtons[5] = (Last created dialog Button)
        Dialog - Create a dialog button for DialogBox[2] labelled 40
        Set DialogButtons[6] = (Last created dialog Button)
        Dialog - Create a dialog button for DialogBox[2] labelled 50
        Set DialogButtons[7] = (Last created dialog Button)
        Dialog - Create a dialog button for DialogBox[2] labelled 60
        Set DialogButtons[8] = (Last created dialog Button)
        Dialog - Create a dialog button for DialogBox[2] labelled Unlimited!
        Set DialogButtons[9] = (Last created dialog Button)
        -------- Dialog Box 3 --------
        Wait 0.50 seconds
        Dialog - Change the title of DialogBox[3] to Number of Lives
        Dialog - Create a dialog button for DialogBox[3] labelled Pro (1)
        Set DialogButtons[10] = (Last created dialog Button)
        Dialog - Create a dialog button for DialogBox[3] labelled Hard (25)
        Set DialogButtons[11] = (Last created dialog Button)
        Dialog - Create a dialog button for DialogBox[3] labelled Normal (50)
        Set DialogButtons[12] = (Last created dialog Button)
        Dialog - Create a dialog button for DialogBox[3] labelled Easy (75)
        Set DialogButtons[13] = (Last created dialog Button)
        Dialog - Create a dialog button for DialogBox[3] labelled Noob (100)
        Set DialogButtons[14] = (Last created dialog Button)
        Dialog - Create a dialog button for DialogBox[3] labelled Pussy (Starts 150 a...
        Set DialogButtons[15] = (Last created dialog Button)
        -------- Dialog Box 4 --------
        Wait 0.50 seconds
        Dialog - Create a dialog button for DialogBox[4] labelled Pussy (x150)
        Set DialogButtons[16] = (Last created dialog Button)
        Dialog - Create a dialog button for DialogBox[4] labelled Very Easy (x250)
        Set DialogButtons[17] = (Last created dialog Button)
        Dialog - Create a dialog button for DialogBox[4] labelled Easy (x500)
        Set DialogButtons[18] = (Last created dialog Button)
        Dialog - Create a dialog button for DialogBox[4] labelled Normal (x750)
        Set DialogButtons[19] = (Last created dialog Button)
        Dialog - Create a dialog button for DialogBox[4] labelled Hard (x1000)
        Set DialogButtons[20] = (Last created dialog Button)
        Dialog - Create a dialog button for DialogBox[4] labelled Insane (x1250)
        Set DialogButtons[21] = (Last created dialog Button)
        Dialog - Create a dialog button for DialogBox[4] labelled Dont Be Stupid! (x1...
        Set DialogButtons[22] = (Last created dialog Button)
Edit: I know there is an error in DialogBox 4 but the game wont show 2 or 3 or 4
User avatar
Ken
Spice Pirate
Posts: 862
Joined: January 29th, 2009, 5:35 pm
Title: LHC
Location: Canada

Re: DialogBox

Post by Ken »

For the 4th one, I notice you don't change the title of it.

For the ones not displaying... Maybe they have to be created in separate functions?

And, why the 0.5s wait between making all the things?
Spoiler:
xkiska wrote:BARTIMEAUS is more understandable then u
Senethior459 wrote:Wow, Dream Theatre reminds me of Dragonforce, but with real skill.
Ozzapoo wrote:We laughed, we cried. Trashed.
FatherSpace: You don't find smart chicks hawt?
GeorgeMots: not anymore, im fed up with that kind of girls
FatherSpace: lol
FatherSpace: What happened?
GeorgeMots: most smart girls find out that i date/do/see other girls....
FatherSpace: ...
FatherSpace: So monogamy is your enemy?
Bartimaeus: Hmm, well, I hope my sister hasn't been kidnapped.
FatherSpace: What happened, Bart?
Bartimaeus: She walked out of the house saying that she was going over to some friends, and it's been like two hours, and my mom is trying to get a hold of her, which she's been unable to.
Bartimaeus: I can also hear three car alarms going off.
GeorgeMots: how old is she?
Bartimaeus: I haven't a clue. Probably 17.
UndeadxAssassin: wut
AbusivePie: You don't know how old your sister is?
Bartimaeus: Nope.
UndeadxAssassin: Epic fail
GeorgeMots: is she cute??
Bartimaeus: So, uh, how about you get into the Christmas spirit and put that avatar on before I do it myself and take away your bloody avatar-changin' rights?
UndeadxAssassin: If I thought of a random one...
UndeadxAssassin: Like....
UndeadxAssassin: I'll get back to you on that
Black-Hole
Forum Fanatic
Posts: 315
Joined: October 16th, 2007, 7:32 pm

Re: DialogBox

Post by Black-Hole »

I messed around with it, and your right you cant have the same it made with arrays... it strange. Dialog[1] - Dialog[4]

But now im having a different problem :( not with the Dialog Box.
Do you know how to change the Max life of a spawning unit in game? Cause my game spawns random units from the long list of units ive specified.

Ive tryed - Unit - Set life of (Last created unit) to ((Real(Lvl)) x (Real(Difficulty)))
Difficulty = Integer (150,250,500,750,1000,1250 or 1500)
Lvl = Integer (1 - Unlimited)
Black-Hole
Forum Fanatic
Posts: 315
Joined: October 16th, 2007, 7:32 pm

Re: DialogBox

Post by Black-Hole »

:shock: :evil: :shock: :evil: :shock: :evil: :shock: :evil: :shock: :evil: :shock: :evil: :shock: :evil: :shock: :evil: :shock: :evil: :shock: :evil:

Never mind :( ... WE... just crashed... and... i didn't save... wish there was a Cry Smiley... i just lost the last 3 hours of my map...
I HATE WINDOWS VISTA!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

... :) :) :) :) :) HURRAY WINDOWS 7 IS COMMING OUT IN AUGUST!!! ITS ONLY 60$ IF YOU HAVE VISTA :) :) :) :) :)
User avatar
Ken
Spice Pirate
Posts: 862
Joined: January 29th, 2009, 5:35 pm
Title: LHC
Location: Canada

Re: DialogBox

Post by Ken »

:(

That really sucks...

But for the unit health, perhaps make the units as heroes, and increase their strength to boost HP, but make it so that their HP regen isn't increased (if that's what you want).
Spoiler:
xkiska wrote:BARTIMEAUS is more understandable then u
Senethior459 wrote:Wow, Dream Theatre reminds me of Dragonforce, but with real skill.
Ozzapoo wrote:We laughed, we cried. Trashed.
FatherSpace: You don't find smart chicks hawt?
GeorgeMots: not anymore, im fed up with that kind of girls
FatherSpace: lol
FatherSpace: What happened?
GeorgeMots: most smart girls find out that i date/do/see other girls....
FatherSpace: ...
FatherSpace: So monogamy is your enemy?
Bartimaeus: Hmm, well, I hope my sister hasn't been kidnapped.
FatherSpace: What happened, Bart?
Bartimaeus: She walked out of the house saying that she was going over to some friends, and it's been like two hours, and my mom is trying to get a hold of her, which she's been unable to.
Bartimaeus: I can also hear three car alarms going off.
GeorgeMots: how old is she?
Bartimaeus: I haven't a clue. Probably 17.
UndeadxAssassin: wut
AbusivePie: You don't know how old your sister is?
Bartimaeus: Nope.
UndeadxAssassin: Epic fail
GeorgeMots: is she cute??
Bartimaeus: So, uh, how about you get into the Christmas spirit and put that avatar on before I do it myself and take away your bloody avatar-changin' rights?
UndeadxAssassin: If I thought of a random one...
UndeadxAssassin: Like....
UndeadxAssassin: I'll get back to you on that