Author Topic: While mousefire  (Read 383 times)

Is there any way to simulate a "onActivate -> while mousefire == 1 -> output" with events?
I want to make something like this:
0
  • onActivate -> self -> setmusic [something]

1
  • onActivate -> whilemousefire == 1 -> [2 3]

2
  • whiletrue -> do nothing

3
  • whilefalse -> self -> setmusic [NONE]


I know there's a mix between brick and client, but I hope you get the idea.
Is there any way to do this with variables, relays or elsehow?

You can use the VCE value <var:pl:firing>