B9PartSwitch icon indicating copy to clipboard operation
B9PartSwitch copied to clipboard

Feature Request: Event for when a part has been switched

Open drewcassidy opened this issue 4 years ago • 3 comments

Use case: A conformal decal mod that needs to know when the parent part has been switched so it can re-project onto the new model. Right now this is only possible with the stock switcher and GameEvents.OnVariantApplied.

drewcassidy avatar May 31 '20 21:05 drewcassidy

This has to be a global event not a part event right? Since the module that needs to respond is not on the part changing?

blowfishpro avatar May 31 '20 21:05 blowfishpro

Correct

drewcassidy avatar May 31 '20 21:05 drewcassidy

I would second this, currently have to use GameEvents.onEditorPartEvent - which works, but probably isn't the best option.

ValentinBischof avatar Apr 07 '21 15:04 ValentinBischof