AFK Detection
Jun 29 2008, 8:08 pm
By: 49281358723941702706  

Jun 29 2008, 8:08 pm 49281358723941702706 Post #1



Is there any way you can make it so that if a player is afk for a few minutes then those units go to another player? How would you do the triggering to detect if a player hasn't moved in a few minutes? I want this feature for a map I'm working on. Any help is appreciated. Thank you.



None.

Jun 29 2008, 8:23 pm DT_Battlekruser Post #2



It depends on the context of the map. If each player has only one unit, it would be relatively simple to detect when it moves. However, if it is a melee style map with many different units, it becomes more difficult. What sort of map are you trying to implement this with?



None.

Jun 29 2008, 9:01 pm Hug A Zergling Post #3



Couldn't you just use "Player(?) Brings (Unit) to Anywhere" and a timer, and have it trigger not giving units to another player somehow? I don't know, im not looking at a trigger list or anything. This is a good idea tho, AFK detection. problem is tho, what if the person says "brb" and the other players are fine w/ that?



None.

Jun 29 2008, 9:36 pm 49281358723941702706 Post #4



Most of the time it will only be 1 unit, however a few times there may be a couple more units.



None.

Jun 29 2008, 9:52 pm Hug A Zergling Post #5



Well my garbled answer of a method would work, i think



None.

Jun 29 2008, 10:41 pm Untelligent Post #6



You could probably move a location to the unit at the start of the game, and set a timer to a minute or two. If the unit is in that location at the end of the timer, do whatever. You'd have to move the location again if the unit isn't in the location, and restart the timer.

Making the location really small would probably be a good idea, to help prevent the chance of the unit ending up inside it when the timer goes off.

Maybe add a beacon somewhere that turns on a switch that prevents that from happening in case the player needs to leave for a bit and the others are fine with it.



None.

Jun 30 2008, 2:21 am DT_Battlekruser Post #7



Quote from Gamma
Most of the time it will only be 1 unit, however a few times there may be a couple more units.

If one player never has more than one non-unique unit (unit of the same type), then center a location on each unit owned by the player. If the unit leaves the location ('brings 0'), then recenter the location and reset a timer or otherwise log that the player has been active.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: Roy