This seems really easy, but doing it with Conditions is needlessly complicated. I've got my Trigger looking like this:
Events
Unit - Any Unit Enters Ban 1
Local Variables
Conditions
(Unit type of (Triggering unit)) == Ban Player
Actions
UI - Display "One of your Opponents has opted to ..." for (All players) to Subtitle area
General - Wait for (Conditions), checking every 1.0 Game Time seconds
Conditions
I'm lost on the Conditions -_-
I need to make it so that at least 3 players have to be on the Beacon for the Trigger to execute...
You can use player groups or unit groups. i forget which one. Basically, when each unit steps on a beacon, add it to the unit group. if the number of units in unit group >= 3, ban player
it may require 2 triggers but thats how i would do it.
Events
Unit - Any Unit Enters Ban 1
Local Variables
Conditions
(Unit type of (Triggering unit)) == Ban Player
Actions
UI - Display "One of your Opponents has opted to ..." for (All players) to Subtitle area
General - Wait for (Conditions), checking every 1.0 Game Time seconds
Conditions
There's also the "allow trigger to be skipped" action, if enough people press Escape you can skip a trigger. In that case, you can have it run another trigger when it skips.
Combined with something like a kickvote command, it would be pretty neat.
If you're set on doing it your way, use Number of Units in Unit Group and Units in Region Matching Condition.
This seems really easy, but doing it with Conditions is needlessly complicated. I've got my Trigger looking like this:
Events Unit - Any Unit Enters Ban 1 Local Variables Conditions (Unit type of (Triggering unit)) == Ban Player Actions UI - Display "One of your Opponents has opted to ..." for (All players) to Subtitle area General - Wait for (Conditions), checking every 1.0 Game Time seconds Conditions
I'm lost on the Conditions -_- I need to make it so that at least 3 players have to be on the Beacon for the Trigger to execute...
@Mesden: Go
You can use player groups or unit groups. i forget which one. Basically, when each unit steps on a beacon, add it to the unit group. if the number of units in unit group >= 3, ban player
it may require 2 triggers but thats how i would do it.
BTW I'd recommend doing it entirely through chat commands. Just because it looks better.
Like this?
Events Unit - Any Unit Enters Ban 1 Local Variables Conditions (Unit type of (Triggering unit)) == Ban Player Actions UI - Display "One of your Opponents has opted to ..." for (All players) to Subtitle area General - Wait for (Conditions), checking every 1.0 Game Time seconds Conditions
I agree that chat command would be nicer.
There's also the "allow trigger to be skipped" action, if enough people press Escape you can skip a trigger. In that case, you can have it run another trigger when it skips.
Combined with something like a kickvote command, it would be pretty neat.
If you're set on doing it your way, use Number of Units in Unit Group and Units in Region Matching Condition.
I would do all of this in a nice dialog personally, and have a button that lets you access a menu with options including ban player etc.
There are even dropdown lists and all sorts of nice dialog options to help you choose the player.