Hi,
that's not possible, you would need to add another event...
Here a helper action for dynamically adding an one-time event:
|
Quellcode
|
1
2
3
4
5
6
7
|
<action name="onnextevent">
delayedcall(0,
calc(eventname, 'event' + events.count + (timertick BOR 0));
set(events[get(eventname)].keep, true);
txtadd(events[get(eventname)].%1, 'events.removearrayitem(', get(eventname), ');', "%2");
);
</action>
|
Usage:
|
Quellcode
|
1
|
onnextevent('onmousedown', trace(next mousedown); );
|
Best regards,
Klaus