The Great Siege
Would you like to react to this message? Create an account in a few clicks or log in to continue.
The Great Siege

A colossal mix of many things
 
HomeHome  PortalPortal  SearchSearch  Latest imagesLatest images  RegisterRegister  Log inLog in  

 

 Dialogs

Go down 
4 posters
AuthorMessage
pak-mawn
Peasant
pak-mawn


Male Number of posts : 16
Age : 31
Registration date : 2008-01-02

Warcraft 3 Stats
Agility: 0
Strength: 0
Intelligence: 0

Dialogs Empty
PostSubject: Dialogs   Dialogs Icon_minitimeWed Jan 02, 2008 2:43 pm

Note: In this tutorial we will show you how you create a simple
multiply choice dialog for 1 player. Keep in mind that this is directed
towards the beginners within the Trigger Editor and is in no way meant
to teach the experienced modders anything that they probably didn't
knew already.




What is a dialog?

A "Dialog" is a little window that pops up which contains some buttons
that you can click. An example of what a Dialog can be used for is a
simple thing like if you would like to have a 100 gold. Instead of
having the choice based on chat commands where you write -yes or -no it
is (and looks) better to have a Dialog window appearing asking you if
you would like to have a 100 gold and then having 2 buttons which says
"Yes" or "No". We will now show you how you make a Dialog like I just
told you about in the simpliest way (that we know of).


Getting Started.

To get started you should (of course) open up the World Editor and
enter the Trigger Editor (Hotkey for it is F4), the icon for it is
located in between the Terrain Editor & the Sound Editor.

Dialogs Triggereditorpic9kp


Creating The Variables.

Once you entered the Trigger Editor the first thing to do is finding
the Variable Editor (Hotkey for it is Ctrl+B), the icon for it is
located to the left of the New Category icon.



When you are inside the Variable Editor you click on the green x with a + in front of it Dialogs Greenx5yy to create a new variable, then you make the two variables needed for the Dialog as shown below.
Dialogs 2variables3zt
Creating The Dialog Window.

Once you made your two variables you can start with the actual triggers for getting the Dialog Window to appear.

First you create a new trigger and do as shown below.

Dialogs Dialog
Right Click Image above and click View Image (if you are running Firefox)
Once this is done the Dialog will appear perfectly but there will be no effect when clicking the buttons.
Creating The Buttons.

To make the buttons actually do something you create two triggers as shown below.
Dialogs Dialog2-1
Dialogs Dialog3-1
Once these two triggers have been made your Dialog should work and look like shown below.
Dialogs Finaldialog0bw
Back to top Go down
mustang
Peasant
mustang


Male Number of posts : 20
Age : 31
Battle.Net Name : wiggly town
Registration date : 2007-12-19

Warcraft 3 Stats
Agility: 0
Strength: 0
Intelligence: 0

Dialogs Empty
PostSubject: Re: Dialogs   Dialogs Icon_minitimeWed Jan 02, 2008 2:49 pm

Great tutorial, I already new this, but newbs will like it!
Back to top Go down
dark_raptor
Human King
dark_raptor


Male Number of posts : 6303
Age : 29
Battle.Net Name : dark_raptor
Registration date : 2007-07-31

Warcraft 3 Stats
Agility: 8 - but sideways lol
Strength: 8 - but sideways lol
Intelligence: 8 - but sideways lol

Dialogs Empty
PostSubject: Re: Dialogs   Dialogs Icon_minitimeThu Jan 17, 2008 2:39 pm

Yeeah Newbs *yawns*
Back to top Go down
http://ultimategamers.darkbb.com/index.htm
pak-mawn
Peasant
pak-mawn


Male Number of posts : 16
Age : 31
Registration date : 2008-01-02

Warcraft 3 Stats
Agility: 0
Strength: 0
Intelligence: 0

Dialogs Empty
PostSubject: Re: Dialogs   Dialogs Icon_minitimeTue Jan 22, 2008 12:51 pm

Thanks. Again.
Back to top Go down
Guest
Guest
Anonymous



Dialogs Empty
PostSubject: Re: Dialogs   Dialogs Icon_minitimeTue Jan 22, 2008 2:45 pm

lol
Back to top Go down
Guest
Guest
Anonymous



Dialogs Empty
PostSubject: Re: Dialogs   Dialogs Icon_minitimeTue Jan 22, 2008 2:46 pm

850 posts..
Back to top Go down
dark_raptor
Human King
dark_raptor


Male Number of posts : 6303
Age : 29
Battle.Net Name : dark_raptor
Registration date : 2007-07-31

Warcraft 3 Stats
Agility: 8 - but sideways lol
Strength: 8 - but sideways lol
Intelligence: 8 - but sideways lol

Dialogs Empty
PostSubject: Re: Dialogs   Dialogs Icon_minitimeTue Jan 22, 2008 3:38 pm

sweet.
Back to top Go down
http://ultimategamers.darkbb.com/index.htm
teragance
Peasant
teragance


Number of posts : 9
Age : 32
Registration date : 2008-02-18

Warcraft 3 Stats
Agility: 0
Strength: 0
Intelligence: 0

Dialogs Empty
PostSubject: Re: Dialogs   Dialogs Icon_minitimeMon Feb 18, 2008 11:12 am

I'm nooby, and this helps
Back to top Go down
Sponsored content





Dialogs Empty
PostSubject: Re: Dialogs   Dialogs Icon_minitime

Back to top Go down
 
Dialogs
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
The Great Siege :: Warcraft Section :: Map Making Corner :: Tutorials-
Jump to: