Notifications
Clear all

[Closed] Noob question on instancing

Im trying to create a button that will create fill lights in my scene, but I can’t figure out how to get the first created light to become instanced. What am I doing wrong?

button butOmniFill “Create Fill Omni Lights” pos:[90, 120]

      on butOmniFill pressed do
      (
          Omni = Omnilight()
          Omni1 = Omni pos:[30000,30000,5000] isSelected:off
          Omni2 = instance Omni
          Omni2 = Omni2 pos:[-30000,30000,10] isSelected:on
    
      )

I solved it myself! Thanks Sorry for post, can’t delete