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



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.
[02:53 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: I'll check it out this weekend!
Thanks
[02:47 am]
Symmetry -- I'll check it out this weekend!
[02:40 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: Another map maker? Damn we really ARE back
I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
[02:27 am]
Symmetry -- Another map maker? Damn we really ARE back
[01:51 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Now that I wanted to change my avatar, the error image is showing up, haha.
[01:34 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
[01:33 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
[01:31 am]
Ultraviolet -- Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Is it forbidden to have a large avatar?
actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
[12:20 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: https://staredit.net/profile/133367/ dude's avatar is massive
Is it forbidden to have a large avatar?
[12:04 am]
Ultraviolet -- https://staredit.net/profile/133367/ dude's avatar is massive
Please log in to shout.


Members Online: Mr.BurnLiquid, Moose