ffc script Whatever {
void run() {
if(this->WasTriggered()) {
Quit();
}
}
}This script gives an error:
"Internal Error: Couldn't find function label xyz"
(except, the xyz is a number. It varies, depending on what else is in the script file)
The issue is with the "WasTriggered" method. If you replace it with "true" in the script, it compiles fine.
I've not yet tested to see whether it works in game or not.
EDIT: No, the script fails entirely in game. No error in allegro.log, though.