SKKmods Posted May 9, 2019 Share Posted May 9, 2019 I need to place some lights and control the on/off state with script. No workshops, generators and such involved. Been working with workshopLightbulbLight with power keywords removed but cant get the thing to switch state from default; bReturn = LightBulbREF.PlayAnimation(asAnimation = "ON") Utility.Wait(1.0) bReturn = LightBulbREF.PlayAnimation(asAnimation = "OFF") error: (02003F89): the animation graph (WorkshopNoTransitionsConversion) cannot currently process event "On". Plan B is to place default on and default off bulbs and simply .Enable() and .Disable() in script but that's really nasty. Any suggestions ? Link to comment Share on other sites More sharing options...
DieFeM Posted May 9, 2019 Share Posted May 9, 2019 Use PlayGamebryoAnimation instead of PlayAnimation. Link to comment Share on other sites More sharing options...
SKKmods Posted May 9, 2019 Author Share Posted May 9, 2019 Yes ! Who loves ya baby ? Link to comment Share on other sites More sharing options...
DieFeM Posted May 9, 2019 Share Posted May 9, 2019 :cool: :laugh: Link to comment Share on other sites More sharing options...
Recommended Posts