Search found 2 matches

by sergio_ledzep
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: 4663

Re: What would the code looks like if I want turn on/off the spotlight from script?

I have this, but it still does not working

if (buttonID == 15) then
simSetLightParameters("the name of my spotlight ,0)
end
by sergio_ledzep
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: 4663

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.