HubbubJub
New Member
Attacking (and other stuff)
How could you make it so a unit with a ranged attack will not attack enemies unless it has used the attack button (or hotkey a) and left-clicked on it? That means attack-moving will not work and neither will right-clicking...
Also, is there any way to organize players in a leaderboard?
Example:
Kills
Team 1
Player 1 6
Player 2 0
Player 3 1
Team 2
Player 4 2
Player 5 2
Player 6 1
Or something of that sort.
EDIT2: (I felt it more relevant in front of the first edit) If what I said above is not possible without sacrificing some players, then how can you make it so it swaps between two leaderboards (one for showing individual score, and then one for team score) every, say, ten seconds?
EDIT: Also, another thing. I used dialog boxes to choose your "class" at the beginning of the game, and it applies to all players. So when I have "a dialog button is clicked" how do I make it create the unit of the class he clicked for each player?
This is what I have so far:
Events
- Dialog - A dialog button is clicked for ClassDialog
Conditions
- (Clicked dialog button) Equal to DialogButton[1]
Actions
- Unit - Create 1 Scout for (Triggering player) at (Random point in Team1spawn <gen>) facing 45.00 degrees
Well, thanks in advance.
EDIT3: Yeah, I know, a lot of questions. Uhm, how do you make your view snap to your player and also point in the direction he is pointing?
How could you make it so a unit with a ranged attack will not attack enemies unless it has used the attack button (or hotkey a) and left-clicked on it? That means attack-moving will not work and neither will right-clicking...
Also, is there any way to organize players in a leaderboard?
Example:
Kills
Team 1
Player 1 6
Player 2 0
Player 3 1
Team 2
Player 4 2
Player 5 2
Player 6 1
Or something of that sort.
EDIT2: (I felt it more relevant in front of the first edit) If what I said above is not possible without sacrificing some players, then how can you make it so it swaps between two leaderboards (one for showing individual score, and then one for team score) every, say, ten seconds?
EDIT: Also, another thing. I used dialog boxes to choose your "class" at the beginning of the game, and it applies to all players. So when I have "a dialog button is clicked" how do I make it create the unit of the class he clicked for each player?
This is what I have so far:
Events
- Dialog - A dialog button is clicked for ClassDialog
Conditions
- (Clicked dialog button) Equal to DialogButton[1]
Actions
- Unit - Create 1 Scout for (Triggering player) at (Random point in Team1spawn <gen>) facing 45.00 degrees
Well, thanks in advance.
EDIT3: Yeah, I know, a lot of questions. Uhm, how do you make your view snap to your player and also point in the direction he is pointing?