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.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
[2026-7-23. : 1:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
[2026-7-23. : 1:40 am]
Oh_Man -- and no consistent easy to use way to then play the audio either
[2026-7-23. : 1:39 am]
Oh_Man -- where they use third party audioprogram called WWISE which basically makes adding audio extremely difficult
[2026-7-23. : 1:39 am]
Oh_Man -- i appreciate SCBW's ability to just let us upload and play WAVs so much compared to nightmare that is total war warhammer 3
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
Please log in to shout.


Members Online: Oh_Man