Any way to check if a user event exists?

A

anomalous

Guest
I'm replacing some terrible code with slightly less terrible code, and I would like to run an user event if it exists.
The issue is there are a lot of objects and prior to this, it was set with a flag...and those not needing to run anything did nothing, those that triggered from the flag, had code in them.
I'm moving that code to a user event, but I don't necessarily want to add an empty event for every object.

Do I have a choice?
 

jo-thijs

Member
So, you don't need to check if there's a user event,
but you just don't want anything to be executed when you ask to execute an empty user event?
Well, that's already what happens.
 
Top