| 12-11-2003, 04:37 AM | #1 |
The problem why the tooltips disappear is caused by this line of code in CustomDefeatDialogBJ, which disables the User UI: Code:
call EnableUserUI(false) Add this action right after a Game - Defeat player X action to re-enable the User UI: Custom script: call EnableUserUI(true) |
| 12-11-2003, 05:37 AM | #2 |
:ggani: OMG, does that really work!? Have you tested it already and everything?! That's awesome! I'd give you a million bagillion...well... a lot of points if I could! Great job finding that out! ^_^ :D Someone must sticky this. :gsmile: |
| 12-11-2003, 01:08 PM | #3 |
This really will be handy, Phil_123. Have you tried it out to see that it will work? And no, it needn't be stickied :Heh:, but it will probably get moved to the Trigger Repository if it turns out to have been proven to work. |
| 12-11-2003, 01:27 PM | #4 |
I think Doca Cola or somebody else told me that on irc a while ago, I even made this function however it is good that you posted it |
| 12-11-2003, 04:13 PM | #5 |
Why can't you just use the Enable UI event in GUI? |
| 12-11-2003, 04:35 PM | #6 | |
Quote:
Where is that event? Or did you mean action? If so, where is that action? I can't find it in the GUI ;) EDIT: Nevermind, I did search for text "UI" and "interface" and it didn't come up under Event nor Actions. So I'll assume that's why not to do that... because you can't. (standard WE) |
| 12-11-2003, 09:14 PM | #7 | ||
Quote:
Were you even paying attention? Quote:
There's an action in the GUI called "Custom Script:" where you can type in a line of JASS in the middle of a regular trigger. Just use that, and type "call EnableUserUI(true)" after every Defeat Player action you use and it should work, according to Phil. Hope I was able to clear that up for you. = ) |
| 12-11-2003, 10:23 PM | #8 |
There was no need to clear anything up, I was just responding to using a "GUI" function, as opposed to "Custom Script" (JASS). And there is no GUI action to do that. |
| 12-12-2003, 01:16 AM | #9 |
It must be a UMSWE or WEU function then. But it works. [edit] I've stickied this because I think that loads of people will find it helpful. |
| 12-15-2003, 03:56 AM | #10 |
Why hasn't this been stickied? I thought you said you were gonna sticky it, 35263526. What happened? :( Isn't this...helpful?... |
| 12-15-2003, 04:01 AM | #11 |
I wasn't sure how helpful it would be. If enough people want, I'll sticky it. |
| 12-15-2003, 05:23 AM | #12 |
Hmm...is there something that's already stickied that you could add this to? That would save space and would save you the trouble of stickying another post, right? :D Of course, only the original, or more specifically, the most necessary posts would be added, if any. |
| 12-15-2003, 06:36 AM | #13 |
Excuse me but the credits DO NOT GO TO THE TOPIC MAKER. Someone else posted this, and I already has it copied down in one of my little notepad documents. Please, stop. |
| 12-15-2003, 11:54 AM | #14 |
I've added it to the FAQs. Case CLOSED |
