January 21, 200323 yr Hi, I'm getting slightly desperate here! hehe...here is my code i'm starting with...trying to get an object to appear at 0,0I have created the dynamic library for this object, but nothing is appearing...does anyone know whats wrong?!Header( 1 N0:30:0.0000 S0:30:0.0000 E0:30:0.0000 W0:30:0.0000 )LatRange( N0:30:0.0000 S0:30:0.0000 )Area15( N0:30:0.0000 S0:30:0.0000 E0:30:0.0000 W0:30:0.0000 ) LatRef( N0:00:0.00 ) CallDLibObj( :bus 0 034B2352 005032BE 05B3A79A 034588B6 )Exit:busSetColor( 0 4 F0 ) SetColor( 1 5 F0 ) SetColor( 2 4 F0 ) SetColor( 3 3 F0 ) SetColor( 4 2 F0 ) SetPos( N0:00:0.00 E0:00:0.00 0 ) End15Thanks in advance!
January 22, 200323 yr Author Hello Oli,at the end of your function you need a jump back to the start to create a loop. Acoording to the scasm docu and sample you could also set the heading of your object and set it into sleep-mode (or wait).Your code gets executed and it leaves the function immediately (sp?).>...>:bus >SetColor( 0 4 F0 ) > SetColor( 1 5 F0 ) > SetColor( 2 4 F0 ) > SetColor( 3 3 F0 ) > SetColor( 4 2 F0 ) > SetPos( N0:00:0.00 E0:00:0.00 0 ) > Heading( 12.3 ) Sleep ; sleep (parking) forever Jump( :bus ) ; <- important>End15 >...Regards,Edgar
Create an account or sign in to comment