Sign in to follow this  
HarIII

Scripting Issue with a New Function File

Recommended Posts

Hey guys, I've been experiencing a very strange issue where one of the guys on my project has created a new function file called "jb_func.nss." I plan on using this something along the lines of the following syntax:

 

Spoiler

#include "jb_func"

void main() {

if (GetGlobalBoolean("ald_thul01") == 0) {

  PCStartDialog("c1s1");

  }

}

Whenever I go to compile it, I get the following error:

s_onenter.nss(1): Unable to open the include file "jb_func"

 

What makes this so perplexing is that the guy who made this file is able to compile this with no issue on his computer. I need to be able to compile this on my computer as this will be a frequently used function and it will make things rather challenging needing the other guy to compile a script every time I turn around.

 

Thank you for any responses in advance, I appreciate your help.

screenshot.png

Share this post


Link to post
Share on other sites

Try to put it in same directory with your source script.

Share this post


Link to post
Share on other sites

I usually do save all my source scripts to the override and compile them from there.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this