• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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