- Joined
- Jun 26, 2020
- Messages
- 1,853
I have two groups, one is to the players present players and the other is for who are not afk, but I don't know why but I have the action to remove them from those groups but they are still counted as they are still there why?
This is the trigger:
This is the trigger:
-
Se fue
-
Events
- Player - Player 2 (blue) leaves the game
- Player - Player 3 (teal) leaves the game
- Player - Player 4 (purple) leaves the game
- Player - Player 5 (yellow) leaves the game
- Player - Player 6 (orange) leaves the game
- Player - Player 8 (pink) leaves the game
- Player - Player 9 (gray) leaves the game
- Player - Player 10 (light blue) leaves the game
- Player - Player 11 (dark green) leaves the game
- Player - Player 12 (brown) leaves the game
- Conditions
-
Actions
- Set Temp_Player = (Triggering player)
- Sound - Play UpkeepRing <gen>
- Custom script: set udg_Atemp_Int=CircleNumber(udg_Temp_Player)
- Player Group - Remove Temp_Player from Los_que_estan
- Player Group - Remove Temp_Player from Esta_jugando
- Set AFK_tiempo[Atemp_Int] = 0.00
- Game - Display to (All players) for 10.00 seconds the text: (Nombre_Player[Atemp_Int] + |cffff0000left the game.|r)
- Custom script: call MultiboardSetItemValueMejor(udg_Tabla,2,udg_Row[udg_Atemp_Int],GetPlayerName(udg_Temp_Player))
- Custom script: call MultiboardSetItemColorMejor(udg_Tabla,0,udg_Row[udg_Atemp_Int],105,105,105,255)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Temp_Player is in Selector_de_modos) Igual a True
-
Then - Actions
- Player Group - Remove all players from Selector_de_modos
- Trigger - Run Quien selecciona el modo <gen> (ignoring conditions)
- Else - Actions
-
If - Conditions
-
Item - Pick every item in (Playable map area) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Picked item)) Igual a Temp_Player
-
Then - Actions
- Set Temp_Loc = (Center of Circle_region[Atemp_Int])
- Item - Move (Picked item) to Temp_Loc
- Custom script: call RemoveLocation(udg_Temp_Loc)
- Item - Change ownership of (Picked item) to Neutral pasivo and Cambiar color
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Remaining time for End_Switch) Mayor que 0.00
-
Then - Actions
- Trigger - Run No <gen> (checking conditions)
- Custom script: call DestroyTimer(udg_End_Switch)
- Custom script: set udg_End_Switch=CreateTimer()
- Else - Actions
-
If - Conditions
-
Events
-
Ok
-
Events
- Player - Player 2 (blue) types a chat message containing -ok as An exact match
- Player - Player 3 (teal) types a chat message containing -ok as An exact match
- Player - Player 4 (purple) types a chat message containing -ok as An exact match
- Player - Player 5 (yellow) types a chat message containing -ok as An exact match
- Player - Player 6 (orange) types a chat message containing -ok as An exact match
- Player - Player 8 (pink) types a chat message containing -ok as An exact match
- Player - Player 9 (gray) types a chat message containing -ok as An exact match
- Player - Player 10 (light blue) types a chat message containing -ok as An exact match
- Player - Player 11 (dark green) types a chat message containing -ok as An exact match
- Player - Player 12 (brown) types a chat message containing -ok as An exact match
- Conditions
-
Actions
- If (((Triggering player) is in Ya_votaste) Equal to True) then do (Skip remaining actions) else do (Do nothing)
- Set Los_que_votaron = (Los_que_votaron + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Los_que_votaron Not equal to (Number of players in Los_que_estan)
-
Then - Actions
- Game - Display to (All players) the text: ((Name of (Triggering player)) + ( typed ok + ((( + (String(Los_que_votaron))) + (/ + ((String((Number of players in Los_que_estan))) + ))))))
- Player Group - Add (Triggering player) to Ya_votaste
-
Else - Actions
- Trigger - Run Cambio <gen> (checking conditions)
- Set Los_que_votaron = 1
- Player Group - Remove all players from Ya_votaste
- Game - Display to (All players) the text: The switch has been...
- Trigger - Turn off No <gen>
- Trigger - Turn off (This trigger)
-
If - Conditions
-
Events