1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The reforging of the races is complete. Come see the 14th Techtree Contest Results.
    Dismiss Notice
  4. It's time to choose your horse in the race - the 32nd Modeling Contest Poll is up!
    Dismiss Notice
  5. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

how to make the blue box?

Discussion in 'Map Development' started by LeviathanReborn, May 13, 2005.

  1. LeviathanReborn

    LeviathanReborn

    Joined:
    May 13, 2005
    Messages:
    164
    Resources:
    2
    Maps:
    2
    Resources:
    2
    in some of the games, such as Real Life for Morons, when you level up, a blue box appears and u can choose to add strength, intelligence or agility. How do u make the blue box?
     
  2. Dragon_Lord

    Dragon_Lord

    Joined:
    Jul 20, 2004
    Messages:
    156
    Resources:
    0
    Resources:
    0
    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
     
  3. TheFallenAngel

    TheFallenAngel

    Joined:
    Feb 8, 2005
    Messages:
    43
    Resources:
    0
    Resources:
    0
    I have a tutorial on the "Blue Boxes" AKA Dialogue Boxes!!! Check the Tutorial section!!!
     
  4. Super-Human

    Super-Human

    Joined:
    Jan 22, 2005
    Messages:
    63
    Resources:
    0
    Resources:
    0
    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.
     
  5. Dragon_Lord

    Dragon_Lord

    Joined:
    Jul 20, 2004
    Messages:
    156
    Resources:
    0
    Resources:
    0
    Well hey take it easy :D I've been on WoW so I'm.... out of... practice? :lol: