I suggest try printf or draw_text (in a loop!) next time instead of file_var_write :P it's a nicer way to debug.

The reason why it does work fine now is because j was uninitialised, and never gets assigned a real value. However, you do raise this value by 1. Probably now it added one to the pointer value.

Last edited by Joozey; 05/09/08 10:51.

Click and join the 3dgs irc community!
Room: #3dgs