- Documentation
- Client functions
- setWindowFlashing
Function
setWindowFlashing
Flashes the game icon on the taskbar, e.g. when the player got a private message while the window is in the background. In the current client version the function is not wired to the game yet and returns false with a console warning.
Syntax
bool setWindowFlashing(bool enabled [, int count = 10])Arguments
enabledbooltrue= flash,false= stop.countint, optional = 10- How many times to flash.
Returns
true on success.
Example
addEvent("onPrivateMessage", true)
addEventHandler("onPrivateMessage", root, function()
setWindowFlashing(true, 5)
end)