class Interpreter
def BH_Load_Map
# Do stuff
end
end
Then, in a auto-run event, I have this:
Script: BH_Load_Map
From what I know, this should run the BG_Load_Map script. However, instead I get an error:
NameError occurred while running script.
uninitialized constant Interpreter::BH_Load_Map
This seems like a really simple thing to do, but apparently I've ***ed up somewhere along the line and I can't for the life of me figure out where. Any help?
Edit: Nevermind. Apparently you can't capitalize method names. It's working now. (well it's not, but it's a different problem now, heh)
I've got a script that looks like this:
Then, in a auto-run event, I have this:
Script: BH_Load_Map
From what I know, this should run the BG_Load_Map script. However, instead I get an error:
NameError occurred while running script.
uninitialized constant Interpreter::BH_Load_Map
This seems like a really simple thing to do, but apparently I've ***ed up somewhere along the line and I can't for the life of me figure out where. Any help?
Edit: Nevermind. Apparently you can't capitalize method names. It's working now. (well it's not, but it's a different problem now, heh)
Edited by AgentPaperShare this post
Link to post
Share on other sites