![]() |
Create GuiWindowCtrl while still moving...
I'm wondering if there is any variable to set or function to call that will let me create a GuiWindowCtrl that doesn't stop the player from moving when it appears. I wanted to use a GUI window for an event message but if someone is sparring, etc., the message would pop up and he wouldn't be able to move until he click out of the window... I've tried calling pushtoback() but that still stop's the player's movements when the window appears. Any help will be greatly appreatiated!
|
Not sure if something like this would work or not.
PHP Code:
|
Quote:
|
PHP Code:
PHP Code:
|
That worked perfectly, Thanks!
|
In the next Graal version some bugs will be fixed which always focussed new controls, you will be able to add new controls that don't steal the input by using a non-modal GUI profile.
|
Quote:
|
He just wants to display some stats or message, which should not get the keyboard focus. Right now each new control receives the keyboard focus, no matter what profile or behaviour you have set. That will be fixed in the next version, so that you can do controls which just show graphics and don't steal the input. If you add controls that can receive mouse clicks then you will need to switch the focus back yourself, like you showed.
|
| All times are GMT +2. The time now is 12:23 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.