• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Dialog Mode Select

Status
Not open for further replies.
Level 1
Joined
Jun 21, 2009
Messages
282
Okay i'm a total noob with dialog, and i'm needing help with this dialog function where at the start of a game you'll select a mode, once clicked PVP Mode there will be a bulletin on the right side of your screen telling you how many player kills you need to win.

There are 2 teams, and after you choose PVP Mode another dialog will come up with a list of how many kills you want, 5, 7, 10, 15, 20, 25, and 30.

Players aren't right off the bat teamed up with eachother though, they can choose whether to be allied with Light Blue (Computer) or Brown (Computer) (They will be given attributes ability to identify whos on whos team, use this) and whatever enemy player they kill, they'll recieve a kill count for their team and bulletin, the game will not end once they reached the final kill because this game has a -save and -load function.
 
Level 14
Joined
Apr 20, 2009
Messages
1,543
The bulletin (board that displays the values) is called a multiboard, tutorial:

http://www.hiveworkshop.com/forums/trigger-gui-editor-tutorials-279/multiboards-6402/

The kills to win system is a very basic trigger which checks if some conditions are met, and then ends the game.
For example: you add 1 to an integer variable when a kill has been made for a player,
then check every ... seconds if the kills of that player equal the amount it needs to win the game and then victory that player and defeat the other players.
 
Level 1
Joined
Jun 21, 2009
Messages
282
I tryed the tutorial and I came up with this trigger.. problem is, is that the multiboard doesn't show up.

  • Kills Leaderboard PVP
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Multiboard - Create a multiboard with 2 columns and 1 rows, titled Kills
      • Set Multiboard_PVP_Mode = (Last created multiboard)
      • Multiboard - Set the icon for Multiboard_PVP_Mode item in column 1, row 1 to ReplaceableTextures\WorldEditUI\DoodadPlaceholder.blp
      • Multiboard - Set the icon for Multiboard_PVP_Mode item in column 2, row 1 to war3mapImported\BTNTachibanaKanade.blp
      • Multiboard - Set the text for Multiboard_PVP_Mode item in column 1, row 1 to SSS
      • Multiboard - Set the text for Multiboard_PVP_Mode item in column 2, row 1 to Angel
      • Multiboard - Set the width for Multiboard_PVP_Mode item in column 1, row 1 to 6.00% of the total screen width
      • Multiboard - Set the width for Multiboard_PVP_Mode item in column 2, row 1 to 6.00% of the total screen width
      • Multiboard - Set the color for Multiboard_PVP_Mode item in column 1, row 1 to (100.00%, 0.00%, 0.00%) with 0.00% transparency
      • Multiboard - Set the color for Multiboard_PVP_Mode item in column 2, row 1 to (100.00%, 100.00%, 100.00%) with 0.00% transparency
      • Multiboard - Show Multiboard_PVP_Mode
 

Attachments

  • Triggers.JPG
    Triggers.JPG
    103.8 KB · Views: 63
Status
Not open for further replies.
Top