Scripting API - Event/Browser selection changed callback?

Hi there, writing a small utility to mirror selection between the event browser and event editor, to make working through batches of “Find Reference” type modifications easier.

I imagine it’d be something like the built in functionality where you’re able to link event and bank selections, but that’s part of the compiled editor and so I don’t know how it’s done.

I’m having trouble finding a good way to hook into a callback when a browser selection changes. The script is working fine if I push the key every time I want to look something up, but I’m just wondering if there’s a way to make this run automatically.

Thanks!

Unfortunately, no such callback exists, so there’s no simple way to get mirroring between the event editor and browser windows to happen automatically. This does sound like a useful setting to have though, so I’ve noted both adding the setting, and implementing additional callbacks to studio.window, on our internal feature tracker.

1 Like

Thanks so much!

1 Like