I'd try to give the unit a Click Response behavior, with the Count field set to 2 and the Count Delay set to a suitably short time. Then you could run an arbitrary effect, which you could detect via triggers.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi
I am starting a new project, and as i don't know many about the editor, i would need some help...
I would like a special action to be performed when a unit is double-clicked. How can I do this ?
Thank you for your help !
Maybe the first click/trigger could apply a behavior with a short timer, and the second click/trigger could check for that behavior in a condition?
You'd probably have to put the trigger that checks for the behavior above the trigger that adds the behavior.
I'd try to give the unit a Click Response behavior, with the Count field set to 2 and the Count Delay set to a suitably short time. Then you could run an arbitrary effect, which you could detect via triggers.