Problem whit mouse methods
1 Attachment(s)
I have a problem whit mouse events.
When i click multiple times, the method run multiple times too. But i want the method activates only when is not working at this time. Sorry for my english. I looking something like: if (method is running = true) do nothing else do something But when i click multiple times this method continues running after i stop click (number of times i click). |
1 Attachment(s)
I think this is what you are looking for
|
Thanks, but problem continue. I don't know if is my PC or what.
When i click a lot of times quickly, method repeats number of times i've clicked. And i wanna exactly what you do, but alice don't do that. your world is perfect but no work. And repeat I don't know if the problem is on my PC or whatever. |
1 Attachment(s)
Here it is.
I wait for the method to finish before allowing the method to execute with Wait 0.5 |
Go to Google and search for the topic on this forum and some others where the answer could be given.
............................... [URL="http://similarmovies.org/"]Movies database[/URL] [URL="http://deportedirecto.es/products.php?product=Lee-Cooper-Back-To-School-Wal-V-Ni%C3%B1o-%28037069%252d03706903%29"]http://deportedirecto.es/products.php?product=Lee-Cooper-Back-To-School-Wal-V-Ni%C3%B1o-%28037069%252d03706903%29[/URL] [URL="http://freemlm.net/"]Start of a new MLM[/URL] Homepage and search engine at the same time. This is Napred.BG. Check it out on [URL="http://napred.bg"]http://napred.bg[/URL] |
Reminder
Members of this forum are encouraged to not write code for other members, but rather provide pseudocode explanations of possible solutions. Those who continue to write and share solutions will have their posting privileges suspended.
Thank you. |
[QUOTE=djslater107;50532]Those who continue to write and share solutions will have their posting privileges suspended.
Thank you.[/QUOTE] Will this still happen if it isn't school? I've helped tons of people with non-school projects. :( |
Same problem for me in all examples
You click the mouse 10 times you will be sitting there waiting for 10 animations to play. As far as I can tell there is no way to stop this. If shoot==false, the program simply registers 10 clicks and waits for shoot to be true to play the animation.
Ideally you would only have the animation play once even if the user spams the mouse 10 times, until the animation is over and the gun is ready to shoot again, but that's not how it works. I think it's a glitch in alice, but maybe somebody has a solution. |
Multiple Mouse Click events
I assume that you are referring Alice 3...
In the header for the addMouseClickOnObject Listener event, there is an "add detail" menu. One of the menu items in that menu is "multipleEventPolicy" from which you can select IGNORE. When you click on the object 10 times while the handler is executing, the extra clicks will be ignored. If you have any other questions, let us know. We can be contacted at [email]don@alice.org[/email] |
[QUOTE=djslater107;58793]I assume that you are referring Alice 3.[URL="https://farmvillefreak.com/mass-effect-andromeda-mods/"].[/URL].
In the header for the addMouseClickOnObject Listener event[URL="https://techrotten.com/"],[/URL] there is an "add detail" menu. One of the menu items in that menu is "multipleEventPolicy" from which you can select IGNORE. When you click on the object 10 times while the handler is executing[URL="https://farmvillefreak.com/alternatives-to-rabbit/"],[/URL] the extra clicks will be ignored. If you have any other questions[URL="https://farmvillefreak.com/games-like-the-sims/"],[/URL] let us know. We can be contacted at [email]don@alice.org[/email][/QUOTE] Thank you so much for sharing such a useful in formation. I am very glad to reach here I was founding the solution to this problem and finally I got it..[URL="https://iriveramerica.com/best-nfl-streaming-sites/"].[/URL]. |
All times are GMT -5. The time now is 05:59 AM. |
Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.