The Great Siege

A colossal mix of many things
 
HomeHome  PortalPortal  CalendarCalendar  FAQFAQ  SearchSearch  RegisterRegister  MemberlistMemberlist  UsergroupsUsergroups  Log inLog in  

Share | 
 

 Dialogs

Go down 
AuthorMessage
pak-mawn
Peasant
avatar

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

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

PostSubject: Dialogs   Wed 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.




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 to create a new variable, then you make the two variables needed for the Dialog as shown below.

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.


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.


Once these two triggers have been made your Dialog should work and look like shown below.
Back to top Go down
View user profile
mustang
Peasant
avatar

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

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

PostSubject: Re: Dialogs   Wed Jan 02, 2008 2:49 pm

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

Male Number of posts : 6303
Age : 24
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

PostSubject: Re: Dialogs   Thu Jan 17, 2008 2:39 pm

Yeeah Newbs *yawns*

_________________
Spoiler:
 



Spoiler:
 
Back to top Go down
View user profile http://ultimategamers.darkbb.com/index.htm
pak-mawn
Peasant
avatar

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

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

PostSubject: Re: Dialogs   Tue Jan 22, 2008 12:51 pm

Thanks. Again.
Back to top Go down
View user profile
Guest
Guest
avatar


PostSubject: Re: Dialogs   Tue Jan 22, 2008 2:45 pm

lol
Back to top Go down
Guest
Guest
avatar


PostSubject: Re: Dialogs   Tue Jan 22, 2008 2:46 pm

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

Male Number of posts : 6303
Age : 24
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

PostSubject: Re: Dialogs   Tue Jan 22, 2008 3:38 pm

sweet.

_________________
Spoiler:
 



Spoiler:
 
Back to top Go down
View user profile http://ultimategamers.darkbb.com/index.htm
teragance
Peasant
avatar

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

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

PostSubject: Re: Dialogs   Mon Feb 18, 2008 11:12 am

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




PostSubject: Re: Dialogs   

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: