 Likes:  0
 Likes:  0
	
 
			
			 
					
				
			
			 
			
				 Change carposx
 Change carposx
				I tried to change the position of the cursor on the X axis when the junction image appears on the highway, but without any effect.
.lua
sc_change_NavCarPosx = function()
if MODEL.lua.JunctionViewVisible() then
MODEL.map.primary.car_posx = 25
else
MODEL.map.primary.car_posx = 50
end
25 and 50 .is random value for test.
.ui
<observer ob_drag value=(%map.primary.car_posx) onchange=sc_change_NavCarPosx start="NO_TRIGGER">
Can anyone tell me where I'm wrong?
Bookmarks