dedmen / ArmaScriptCompiler

GNU General Public License v3.0
26 stars 12 forks source link

sqfc script not found issue #21

Closed EgoBrainProgrammer closed 1 year ago

EgoBrainProgrammer commented 1 year ago

When i define functions in CfgFunction and place .sqfc file in the mission (instead .sqf) then arma generate error: "File not found". Game search ".sqf" files. I must to place empty .sqf file with same names to avoid this error.

class myFSMFunction { ext = ".sqfc"; } does not solving issue.

dedmen commented 1 year ago

The filename is just the sqf file. The extension is not .sqfc You tell the game to load the sqf, and the game will then take care of checking if a sqfc file exists.

and place *.sqfc file in the mission (instead .sqf)

Thats not how it works, you have sqf AND sqfc in the same place.

Also I think it won't work for FSM, Just normal scripts.