• 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.

how to make the blue box?

Status
Not open for further replies.
Level 5
Joined
Jul 20, 2004
Messages
156
I haven't played RL for Morons, but I'm guessing that it's a dialog box. This isn't exact, as my WE isn't open.

Events
Unit - A unit gains a level

Conditions
Leveling hero equal to (your hero)

Actions
Create a dialog box named LevelBox
Set LevelBox to Last created Dialog Box
Create a dialog button for Last created dialog named Strength
Set StrengthLevel to Last created dialog button
Create a dialog button for Last created dialog named Agility
Set AgilityLevel to Last created dialog button
Create a dilaog button for Last created dialog named Intelligence
Set IntLevel to Last created dialog button

And the next trigger is:

Events
A dialog button is clicked

Conditions
Clicked dialog equal to StrengthLevel

Actions
Modify Strength of (your hero): Add (amount of strength to add)

And do the same for agility and intelligence.

Dragon_Lord
 
Level 4
Joined
Jan 22, 2005
Messages
62
What dragon lord said was about 50% correct. really, all that stuff can be made in a MAP INI trigger and use this trigger for displaying the box.

Events
Unit - A unit gains a level

Conditions
Leveling hero equal to (your hero)

Actions
Show dialog - Show LevelBox for owner of leveling hero

Then add a seperate trigger (you only need one) for the adding stats. If you need, i have a few demo maps on dialog boxes if you need.
 
Status
Not open for further replies.
Top