HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Forward Reference Problem When Compiling

06-08-2006, 12:07 AM#1
Eagle
I keep getting the "Expecting a function name" error message when compiling my map.

I know it is because of a forward reference problem when I call a custom JASS function from an Event Trigger using the Action "custom script:".

I've tried moving the Event Triggers around, but the compiler continues to place the custom function below the Event Trigger.

How do I get the World Editor to place the function above the Event Trigger when compiling?

Thanks,
06-08-2006, 12:23 AM#2
shadow1500
Vex submitted 1trigadd tool at wc3jass.com, use it to add triggers infront of everything.
06-08-2006, 01:10 AM#3
Eagle
Thanks, Shadow

I wasn't able to find the tool, but found a fix while searching that site for the tool.
06-08-2006, 06:22 AM#4
Blade.dk
The tool is here, if you want it anyways.