"zzzzz" a.k.a "afk-widget"

"zzzzz" a.k.a "afk-widget"

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
SirArtturi
Posts: 1164
Joined: 23 Jan 2008, 18:29

"zzzzz" a.k.a "afk-widget"

Post by SirArtturi »

Sometimes it would be nice to know whether a player is afk ingame. We have this kinda feature in most of the lobbys.

Now, I think fun way to do this could be animated "zzz" bubble over the head of commander.

Like this:

Image

Anyone? 8)
Attachments
zzz.gif
zzz.gif (36.65 KiB) Viewed 1241 times
User avatar
Karl
Panzerstahl Developer
Posts: 746
Joined: 01 Apr 2010, 21:05

Re: "zzzzz" a.k.a "afk-widget"

Post by Karl »

Will it snore too? And get a bed? i want to purchase one Deadnight Warrior edition.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: "zzzzz" a.k.a "afk-widget"

Post by AF »

You can check t see when the player last issued a command but for a truly reliable implementation you would need gadget support.
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: "zzzzz" a.k.a "afk-widget"

Post by Google_Frog »

This can be implemented as part of ally cursors. An immobile cursor for a set time length can be inactivity.
Post Reply

Return to “Lua Scripts”