Author Topic: DisableEvent and EnableEvent  (Read 374 times)

It would be useful if we have DisableEvent and EnableEvent
Because if your making a Difficulty button(Making guitar hero and you want to change the note's speed when the guy that makes the notes presses the buttons)
ToggleEventEnabled would be complicated if your doing 3 difficulties.
It could be like this:
0.[/]OnActivate > Note1 > SpawnProjectile [2]
  • Red Note

1.[] OnActivate > Note1 > SpawnProjectile [5]
  • Red Note

2.[] OnActivate > Note1 > SpawnProjectile [10]
  • Red Note


Then if the player wants Hard mode:
OnActivate > NotesButton > DisableEvent [0 1]
OnActivate > NotesButton > EnableEvent [2]

Then the Note Button's events would be like:
0.[]OnActivate > Note1 > SpawnProjectile [2]
  • Red Note

1.[] OnActivate > Note1 > SpawnProjectile [5]
  • Red Note

2.[/] OnActivate > Note1 > SpawnProjectile [10]
  • Red Note



Use the setEventEnabled event that comes with the game. You can put in a set of events as in toggleEventEnabled, and the checkbox decides whether they're on or off.

Use the setEventEnabled event that comes with the game. You can put in a set of events as in toggleEventEnabled, and the checkbox decides whether they're on or off.

Woops, Didn't notice there was one...
Locking topic