• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Novice map editors

Status
Not open for further replies.

Skyzxx

S

Skyzxx

Hello, I am currently working on a very very small project of my own kind of "hero siege" or hero defence kind of map.

I really am confused of variables and dialogues to show the victory/defeat dialogue to the player.

My question is, can any of you out there help me out on explaining variables and dialogues?
 
Hello and welcome to the Hive!

You can learn a lot by looking at our tutorials section: WarCraft III Tutorials

More specifically, this is a tutorial that might help you the best with dialogues: Basics of a Dialog

When you need general help with the World Editor, you can make a thread in this forum: World Editor Help Zone. Since this thread is mainly about this subject, I moved it to the World Editor Help Zone forum.
 
A variable is just a 'space in memory' of sorts that stores some value for using later.
There are many types, but the most common are Boolean (wich stores a true/false value), Integer and Real (stores numbers), Unit (stores a specific unit), Player (stores a specific player).
To use one, you need to create it in the variables section (the 'X' button), then select the type and name it.
then you can assign them a value using the action 'set variable' or use them in conditions like Boolean condition > if MyVar is true then ...
 
Dialogue can be very simple, like a text message on the screen, or very complex with multiple branching dialog boxes that seed into each other for different options.
A dialog box can be triggered to appear with any number of events, from using an ability to selecting a specific unit.

Other forms of dialogue include cinematics (which involves a lot of timing and camera placement)
and unit transmissions with sound files or voice acting.

For victory or defeat messages, you can easily make a timed text message that states the winning or defeat conditions for each individual player then just use a "defeat" or "victory" action.
 
Status
Not open for further replies.
Back
Top