Error -18

Started by Ender Hugo, Sun 31/12/2017 20:33:54

Previous topic - Next topic

Ender Hugo

(I'm not sure if this fits in the Beginners Technical Questions) I tried to run my game and this happened
Error: prepare_script: error -18 (no such function in script) trying to run 'ani' (Room 1)
I tried removing my last lines of code(even the whole code) but it keeps showing, please help me!

Crimson Wizard

Try doing Build - Rebuild all files.

Usually this happens when game scripts desynchronize (some are newer version, and some left from old version of the game).

Vincent

Just one shot in the dark, after you've deleted the whole script go to build -> rebuild all files and it should compile again.

Edit: Crimson Wizard much faster.

Ender Hugo


Cassiebsg

check the room's EVENTS (the yellow lightbolt), do you have one called "ani"? delete it.
There are those who believe that life here began out there...

Crimson Wizard

Quote from: Cassiebsg on Sun 31/12/2017 21:58:16
check the room's EVENTS (the yellow lightbolt), do you have one called "ani"? delete it.
Also object and hotspot events, if you have them in room.

Ender Hugo

Solved it, thanks for the help

eri0o

#7
When possible please state how you solved your problem.:sad:

SMF spam blocked by CleanTalk