Skip to main content

Execute_SetObjectBrightnessLevel

Sets the emissive multiplier of the BaseObject light object to the brightness level named by S1, and records it on the object so the brightness survives save/load and object re-spawn. S1 is a key of UB1InteractionDataAsset.LightBrightnessLevels (for example Light_Low / Light_Middle / Light_High). Every part whose ParamUsage enables both emissive color and emissive multiplier is updated together, so a lamp with two glowing parts does not end up half lit, and the level value is clamped into the part's EmissiveMultiMin/Max range. Writes the same value as the build mode brightness slider, so the two paths overwrite each other and the last write wins. BaseObject = Target (the light object). S2 and F1/F2 are unused.