![]() |
|
05-01-2012
|
16 | |
|
&
Join Date: Aug 2011
Location: napping
Posts: 1,381
|
So in a sense, your last statement is right. For staff, the M hotkey to open the map is enabled on both servers. However, once the Era Graalians are able to use their accounts on the computer, they will also come across this problem if it is not addressed now. While it is not a huge problem, it does become bothersome and I would like to see it improved. It would benefit both servers in the long run, and every little thing adds up! |
|
|
05-01-2012
|
17 |
|
Coder
Join Date: Sep 2011
Posts: 298
|
we'll probably add it to era if it ever is accessible from a computer
|
|
05-01-2012
|
18 | |
|
Global Administrator
Join Date: Jan 2012
Location: Lynn, Ma
Posts: 693
|
|
|
|
05-01-2012
|
19 | |
|
Nerd
Join Date: Sep 2011
Location: Berlin
Posts: 3,825
|
|
|
|
05-10-2012
|
20 |
|
Zone iPhone Manager
Join Date: Nov 2011
Posts: 199
|
How is this genius? What happens if you wan't multiple key events? It would simply return unless you invoke the first event. |
|
05-10-2012
|
21 | |
|
Registered User
Join Date: Apr 2016
Location: Testbed
Posts: 604
|
PHP Code:
PHP Code:
|
|
|
05-11-2012
|
22 |
|
Banned
Join Date: Sep 2011
Location: New Hampshire, United States
Posts: 3,135
|
|
|
05-11-2012
|
23 |
|
Zone iPhone Manager
Join Date: Nov 2011
Posts: 199
|
PHP Code:
And the animation is fairly simple. PHP Code:
|
|
05-11-2012
|
24 | |
|
Registered User
Join Date: Sep 2011
Location: Germany
Posts: 6,122
|
I think the iServers have pretty much every thing under control and do know how to reduce the lag as much as possible. |
|
|
05-11-2012
|
25 |
|
&
Join Date: Aug 2011
Location: napping
Posts: 1,381
|
How about a script that causes the back button to be pressed when the M key is pressed with map open, so it closes the map without having to script the entire map closure again? I have no experience with scripts, but this seems like the most simple idea to me.
|
|
05-11-2012
|
26 | |
|
Registered User
Join Date: Sep 2011
Location: Germany
Posts: 6,122
|
|
|
|
05-11-2012
|
27 |
|
Registered User
Join Date: Apr 2016
Location: Testbed
Posts: 604
|
|
|
05-12-2012
|
28 |
|
Zone iPhone Manager
Join Date: Nov 2011
Posts: 199
|
Ugh you obviously don't see what I'm saying. What happens if on the U key you want it to do one thing and M to do another? The event would be invoked when you press any of the keys. |
|
05-12-2012
|
29 | |
|
Registered User
Join Date: Apr 2016
Location: Testbed
Posts: 604
|
That line I wrote will simply finish that particular event block from continuing if the key pressed wasn't part of the three specified. You could further test after that if necessary. If you want to run a script with different statements based on the key, you could just do it by a switch, if-else if or even in a seperate script catching the same event (the return line won't affect other functions catching that event after all). I don't understand why you had to raise the point of multiple events at all when the suggested script clearly only cares about the 'm' key? I find ending the block if the key is not 'm' a very clean and effective method. |
|
|
05-12-2012
|
30 |
|
&
Join Date: Aug 2011
Location: napping
Posts: 1,381
|
Perhaps you don't fully understand the suggestion I and some other posters came up with. While the map is closed, M opens it. While the map is open, M will close it again. No U, I, K, or anything else. I'm no expert, but it sounds like Twinny has the right idea.
|