How do you remove EventHandler?
Posted: Fri Sep 13, 2024 9:15 am
There is probably command missing from Manual.
I just used InstallEventHandler() command to make keyboard support during level. But when Level is over, I want this event handler to be inactivated/removed. I assumed there would be something like RemoveEventHandler, but manual doesn't tell anything about this, and trying this didn't work either.
1. How do I remove EvenHandler?
2. Add the removal command to the manual
3. Add mention about removal command also to the InstallEventHandler, this way I don't need to go and figure out the removal command, but can read it from same place as InstallEventHandler
And to clarify a bit more. I checked the "Event Library" section of the manual for this command, but it wasn't listed there, or at least none of them seemed to be one.
I just used InstallEventHandler() command to make keyboard support during level. But when Level is over, I want this event handler to be inactivated/removed. I assumed there would be something like RemoveEventHandler, but manual doesn't tell anything about this, and trying this didn't work either.
1. How do I remove EvenHandler?
2. Add the removal command to the manual
3. Add mention about removal command also to the InstallEventHandler, this way I don't need to go and figure out the removal command, but can read it from same place as InstallEventHandler
And to clarify a bit more. I checked the "Event Library" section of the manual for this command, but it wasn't listed there, or at least none of them seemed to be one.