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.
[02:33 am]
Symmetry -- LLMS aren't intelligent and neither are most people :hurr:
[01:24 am]
Moose -- It's okay, I don't have "real" intelligence either because I'm retarded
[11:30 pm]
Zoan -- ya totes
[10:52 pm]
NudeRaider -- one thing I find fascinating is how sure many people are AI is not "real" intelligence. "It's just a probability machine". Well yes, but who told you your brain isn't?
[09:05 pm]
Zoan -- beep beep
[09:05 pm]
Zoan -- btw speaking of movies we saw Coyote vs Acme last night; that movie was great imo
[09:04 pm]
Zoan -- I threw in more of my thoughts, get ur popcorn ready
[07:59 pm]
Zycorax -- Damn, the popcorn smiley was just in my imagination :hurr:
[07:32 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: An SD thread on AI? omg YES inject that shit directly into my veins
looks like a whole lot of popcorn is needed. Interesting how ai - that soulless thing - can stir so much emotion in us humans. :awesome:
[03:42 pm]
Vrael -- time to suppress its visibility by finally responding in the Free Will topic :D
Please log in to shout.


Members Online: MobMob, Roy, Zoan