Search the Community
Showing results for tags 'gameevents'.
-
Does checkboxes' clicking in the Difficulty settings send some GameEvents ? I move some code (which doesn't need to be updated every tick) from LateUpdate() to the functions, called by events, and it almost works with OnGameSettingsApplied() and some flight-scene-events. But I noticed, what if you open difficulty settings while in the flight-scene, and then click some checkboxes, LateUpdate() on-the-fly take this new values, so I need GameEvents for this (something like OnGameSettingsChanges(), but it isn't there) or how to limit flight-scene to take only saved settings, after OnGameSettingsApplied event (I am using HighLogic.CurrentGame.Parameters.CustomParams<modSettings>().setting_name, and they are taken on-the-fly)
-
Hi all, I have a question regarding some strange behaviour with onPartJointBreak events. If a part is decoupled from a Vessel and that Vessel has 1 or more landing gears (tested with SmallGearBay) then the event OnPartJointBreak is thrown for every landing gear joint. Even if landing gear parts are not linked with the parts decoupled. I'm thinking that this can be an issue.