here is the code that works as far as showing the right graphic at the right time, but on being on the space I cannot move forward, its like there is an invisible wall in the way.
if mapdata(int(curposx),int(curposz))=asc("3")
if camera position x()/cubesize > curposx
show object 1000+(w*200)+zzz
position object 1000+(w*200)+zzz, curposx*cubesize, 0.0, curposz*cubesize
// Collisiondetection
if tx#>=((curposx*cubesize)-(cubesize/2))-collisionstep and tx#<=((curposx*cubesize)+(cubesize/2))+collisionstep and tz#>=((curposz*cubesize)-(cubesize/2))-collisionstep and tz#<=((curposz*cubesize)+(cubesize/2))+collisionstep
position camera oldpositionx#,camera position y(),oldpositionz#
oldpositionx#=camera position x()
oldpositionz#=camera position z()
endif
else
show object 6000+(w*200)+zzz
position object 6000+(w*200)+zzz, curposx*cubesize, 0.0, curposz*cubesize
endif
endif
I don't have sparky's
@WLGfx your idea sounds great but I don't know how to implement it, can you please be more specific?
"So it goes."