Originally Posted By: sivan
as it is described in the manual at bmap_lock page, it's not allowed to use bmap_lock before the first frame


He put a wait(1) in the code above.

Originally Posted By: sivan
and in your code there is no level loaded. put a level_load(NULL); in the beginning and a wait(1); it should work fine.


That is really not needed as it should not have any effect on the 2D functions.