GetWiperValue and SetWiperValue ( do these control the wiper pairs and subsequently allow the rain to be wiped away?)
Im familiar with basic scripting at least able to set up controls and simple calls. But I cant seem to link my new wipers to their respective wiper pairs so that they can swipe away rain on the windows like the global controller "wipers" does.
I set up my script like this
- Code: Select all
if Call("*:GetControlValue", "FrontCenterWipers", 0) == 0 then
Call( "*:SetWiperValue", "Wipers_Center", a, 0)
elseif Call("*:GetControlValue", "FrontCenterWipers", 0) == 1 then
Call( "*:SetWiperValue", "Wipers_Center", a, 1)
end
in the oncontrolvalue section of my .lua but doesnt work.
Any help would be appreciated
Ian
