• 🏆 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!

Need Help Whit System

Status
Not open for further replies.
Level 11
Joined
Oct 27, 2009
Messages
234
I have made simple dialogbox system whitch is used for choosing game modes. So i need someone who will check it and fix it if there is some bugs or something, or improve/remake it.

Thanks!
 

Attachments

  • Gamemode Choosing System.w3x
    21.1 KB · Views: 28
Level 37
Joined
Mar 6, 2006
Messages
9,240
Does it work the way you want it to?

This isn't necessary I think:
  • Deathmatch
    • Events
      • Dialog - A dialog button is clicked for Dialog_box
    • Conditions
      • (Clicked dialog button) Equal to GameMode_button[1]
    • Actions
      • Set DeathmatchPlayerGroup = (All players)
      • Player - Make Player 1 (Red) treat (Random player from DeathmatchPlayerGroup) as an Enemy
      • Player - Make Player 2 (Blue) treat (Random player from DeathmatchPlayerGroup) as an Enemy
      • Player - Make Player 3 (Teal) treat (Random player from DeathmatchPlayerGroup) as an Enemy
      • Player - Make Player 4 (Purple) treat (Random player from DeathmatchPlayerGroup) as an Enemy
      • Player - Make Player 5 (Yellow) treat (Random player from DeathmatchPlayerGroup) as an Enemy
      • Player - Make Player 6 (Orange) treat (Random player from DeathmatchPlayerGroup) as an Enemy
      • Unit - Hide Circle of Power 0013 <gen>
      • Unit - Hide Circle of Power 0012 <gen>
DeathmatchPlayerGroup isn't needed. Just us All players player group. Or set all playing non-computer players into a player group.

Why do you use random player? The random player could be the player himself. Aren't players enemies by default?

There are a couple of leaks:
  • Item - Create Human Flag at (Position of Circle of Power 0012 <gen>)
  • Item - Create Human Flag at (Position of Circle of Power 0013 <gen>)
 
Status
Not open for further replies.
Top