mrowrpurr
First time out of the vault

Hi all, I'm having a problem compiling a script using any fs_* functions
The compiler that comes with sFall Script Editor 4.1.6 (also tried 4.1.7 RC0) simply tells me expecting ';'
Here is the code I'm trying to compile:
#include "../headers/define.h"
#define NAME "gl_mymod"
#include "../headers/command.h"
procedure start;
procedure start begin
if game_loaded then begin
display_msg("Please work?");
fs_copy("path1", "path2");
end
end
I really wanna get these functions working
Thanks in advance! Loving so much of what sfall adds!
Edit: it compiles when using a variable but I can't get it to work
file:=fs_copy("color.pal", "color.pal"); <-- compiles
I set UseFileSystemOverride=1 in my ddraw.ini and it's still not working...
UseFileSystemOverride=1 is still available in ddraw.ini, so I'm guessing this feature should work / is supported? It's documented in sFall Script Editor and the sfall-team official docs. Anyone know?
I'm testing by trying to override an animation (of the idle of the ants in the temple, just to test)
file := fs_copy("art/critters/MYIDLE.frm", "art/critters/MAANTTAA.frm");
The compiler that comes with sFall Script Editor 4.1.6 (also tried 4.1.7 RC0) simply tells me expecting ';'
Here is the code I'm trying to compile:
#include "../headers/define.h"
#define NAME "gl_mymod"
#include "../headers/command.h"
procedure start;
procedure start begin
if game_loaded then begin
display_msg("Please work?");
fs_copy("path1", "path2");
end
end
I really wanna get these functions working

Edit: it compiles when using a variable but I can't get it to work

file:=fs_copy("color.pal", "color.pal"); <-- compiles
I set UseFileSystemOverride=1 in my ddraw.ini and it's still not working...
UseFileSystemOverride=1 is still available in ddraw.ini, so I'm guessing this feature should work / is supported? It's documented in sFall Script Editor and the sfall-team official docs. Anyone know?
I'm testing by trying to override an animation (of the idle of the ants in the temple, just to test)
file := fs_copy("art/critters/MYIDLE.frm", "art/critters/MAANTTAA.frm");
Last edited: