Hi guys.
I've imported an old game I was working on a year ago and it's generally fine except for this error message I get whenever I enter (as you can tell below) room 9.
Quote
An internal has occurred ... (blah blah)
(ACI version 3.01.1018)
Error: prepare_script: error -18 (no such function in script) trying to run 'room_AfterFadeIn' (Room 9)
I've tried removing the AfterFadeIn script but still get the error while I can't find any mention of 'prepare_script' in the script files. Any suggestions?
The problem is that the game can't find the function room_AfterFadeIn in the script.
Go to the room properties and click on events. Remove the text after Enters room after fade-in.
I think you removed these lines from your room script:
function room_AfterFadeIn()
{
}
The game tries to execute it but can't, hence the error.
Sorted, cheers (especially for such a quick response). I'm still finding my way around the new interface but should get used to it soon.