Dialog

  • Thread starter Thread starter DrunkenFool
  • Start date Start date
D

DrunkenFool

Guest
I want to know how to her dialogs to do multiple actions. I can creat a dialog button get that to work but when i make more that one it does the same action. So I made a seperate variable but that creats 2 completly differant dialogs. Can someone help? Sending a trigger or map would be real nice. :D

And Also....
How do i get it so at 30 seconds all heros for players 1-6 get moved(instantly) the center of playable map area? I just want the heros nothing els.
Sending a trigger or map would be real nice. :D
 
For dialogs buttons u need a dialog button variable (per button) and 2 actions like this-
Actions: Create a dialog with title Choose an Attribute
Create a dialog button for (AttMenu) labeled Strength
Set (AttStr) = Last created dialog button
Create a dialog button for (AttMenu) labeled Agility
Set (AttAgi) = Last created dialog button
Create a dialog button for (AttMenu) labeled Intelligence
Set (AttInt) = Last created dialog button

Then when you want it to show do Show (AttMenu) for <players>
When you want to run different actions do this:
Event: Dialog button is clicked for (AttMenu)
Action: IF (AttStr) equal to (Clicked dialog button) THEN DO (Modify hero [strength] : Add 1 ELSE DO do nothing
IF (AttAgi) equal to (Clicked dialog button) THEN DO (Modify hero [agility] : Add 1 ELSE DO do nothing
IF (AttInt) equal to (Clicked dialog button) THEN DO (Modify hero [intelligence] : Add 1 ELSE DO do nothing

This is what im using for my RPG, you double-click the ESC key then if u have any wood (Attribute Points) then this menu opens etc etc self explaining :)
 
And Also....
How do i get it so at 30 seconds all heros for players 1-6 get moved(instantly) the center of playable map area? I just want the heros nothing els.
Sending a trigger or map would be real nice.
Sorry didnt notice this till i posted, what you want is...

Event: Time elapsed in the game is (30) seconds [Edit this to be a timer, or periodic event if this isnt what you wanted]
Actions: Pick every unit in (Units matching condition(Boolean - (Matching Unit) is a hero equal to true) and do - Unit move (picked unit) instantly to (center of playable map area)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Check out the new Featured Content feature we apparently got with the forum software upgrade! https://www.thehelper.net/featured/
  • The Helper The Helper:
    Also on the bottom right side bar we now have a Trending Content Box!
    +1
  • The Helper The Helper:
    Not on the Headline News page just on the Forums page can we get that Featured and Trending on the home page?
  • Ghan Ghan:
    Since the home page is technically a forum, it now shows on all forum views. Still in the sidebar.
    +1
  • The Helper The Helper:
    Happy Friday! Hope everyone has a fantastic day and an even better weekend!
  • The Helper The Helper:
    Happy Sunday!
  • The Helper The Helper:
    I lovc that I can post webp and X links now! :)
  • The Helper The Helper:
    Happy Thursday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1
  • The Helper The Helper:
    Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
    +1
  • V-SNES V-SNES:
    Sent a pm @The Helper

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top