How to add manually custom event to cook

I need to add this custom event to the cook:
Because it is simply not activates in the packaged game.

how do I do it in the project settings ?

someone ?