I have this, but it still does not working
if (buttonID == 15) then
simSetLightParameters("the name of my spotlight ,0)
end
Search found 2 matches
- 24 Jan 2018, 13:15
- Forum: Feature requests
- Topic: What would the code looks like if I want turn on/off the spotlight from script?
- Replies: 3
- Views: 5152
- 16 Jan 2018, 12:21
- Forum: Feature requests
- Topic: What would the code looks like if I want turn on/off the spotlight from script?
- Replies: 3
- Views: 5152
What would the code looks like if I want turn on/off the spotlight from script?
I have a custom UI and I just want to know what would the code looks like if i want turn on/off the spotlights every time that I press a button.