Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Mixing Different Types of Event
#1
Hi guys,
Is there any way of combining two different types of event and waiting for either? Specifically, in a MUI programme I can use MUIWaitEvent to wait for a MUI event to arrive, but that means I can't wait for a commodity event, just a MUI event. And if I use the normal intuition waitevent system I can't respond to MUI events.

The only solution I can think of is to not wait, but to loop and check for an event with both MUIEvent and Event each time I loop, and include a small delay so I don't take all the CPU time. But that's not ideal... Any ideas?

Thanks!
Zitieren


Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste