Posted By: log2
Linking Scripts - 09/19/08 02:13
Ok, I'm trying to link my two scripts, I have a Level1.wdl, and a menu.wdl, now I also have a statement
Now as you can guess, my menu.wdl is in a scripts folder, now when I run the Level1.wdl, it looks like this:
now fcn_menu, and set_menu are in the menu.wdl, however, it gives me an error when I run it, something along the lines of: can't quite see it, because it still runs, but obviously not like it's supposed to.
So in other words, my functions aren't running now that I've put my menu into another script.
Any help is appreciated, thanks
Code:
#include "scripts\menu.wdl"
Code:
*/ function main () { video_switch(8 ,32, 2); level_load("Level1.wmb"); wait(3); mouse_spot.x = (bmap_width(cursor) / 2); mouse_spot.y = bmap_height(cursor) / 2; mouse_mode = 2; mouse_map = cursor; set_menu(); fcn_menu();
Quote:
nonexistant/empty function
So in other words, my functions aren't running now that I've put my menu into another script.
Any help is appreciated, thanks