Staredit Network > Forums > SC2 Assistance > Topic: Double-Click event
Double-Click event
Aug 26 2010, 12:11 am
By: payne  

Aug 26 2010, 12:11 am payne Post #1

:payne:

I thought the "Double-Click Selection" filter was to force a player to double-click a button in order to meat the Event, but it looks like a single click makes it through...

Is there such an event? If not, please propose a solution. :)

EDIT: An other question:
If an unit is moved into a region, will it trigger an "Unit enter region" event? And if it is created into it?

Post has been edited 2 time(s), last time on Aug 26 2010, 3:20 am by payne.



None.

Aug 26 2010, 1:12 am Sand Wraith Post #2

she/her

1.0) what are you talking about

1.1) On click, set N integer from 0 to 1, start global timer (0.5s or shorter, one-shot). Turn on trigger X.
1.2) Trigger Y: Event of when global timer expires, turn off trigger X.
1.3) Trigger X (initially off): On click, set N integer from 1 to 2. Set global timer to 0. Proceed with trigger.
The point here is to detect the first click, open up a double-click window, and when doubleclick occurs, do something. There is also a trigger to close the window. You could also just use a condition in trigger X to check if the timer's duration is >0.0 though.

2.0) yes
2.1) yes




Aug 26 2010, 1:34 am payne Post #3

:payne:

Thanks.
Solved.

:jaff:



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
Please log in to shout.


Members Online: Roy, Zycorax