How do i find what event caused the event?

An event that should only have been executed once is being executed twice and I don’t know where it’s from.
So I would like to find out which event is executing this event using PrintString or some other method.
What should I do?

2 Likes

Choose one

  • search for the event
  • use breakpoints & step through the script
  • add string ID data to the event and print it when it executes

The cause was that I wasn’t filtering the SelectionType of the items, so it was responding to multiple SelectionTypes.
But I think your tips will be useful for future development :smile:
Thank you for answering.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.