Jump to content

Unpowered switchable lights


Recommended Posts

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...