Code: Select all
Program New;
begin
if IsWorldCellPassable(getX(self),getY(self),getx(self)-1,gety(self)-1,WorldNum,getz(self)) then
AddToSystemJournal('True');
else
AddToSystemJournal('false');
end.
Code: Select all
Compiling
Compiler: [Error] (1.sc at 4:92): Variable Expected
Compiling failed
Script 1.sc stopped successfuly