Lua SkyBox Enable Hours

Discussion in 'Utilities and programming' started by xnx1985, Apr 8, 2023.

  1. xnx1985

    xnx1985
    Expand Collapse

    Joined:
    Aug 7, 2014
    Messages:
    147
    Hi :)

    I'm using custom skyboxes and I want to add them to my Lua schedule hours that control the lights.
    So what I try to do is that the "skybox" in the scene tree will be off at night and on during the day

    I tried many times but it just won't change the values, I try to change isRenderEnabled or the hidden values...
    Will appreciate any help
    thanks :)
    upload_2023-4-8_14-42-51.png
     
    #1 xnx1985, Apr 8, 2023
    Last edited: Apr 8, 2023
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice