Jump to content
Sign in to follow this  
DragoFire

Script error on mission load

Recommended Posts

Ok here goes, have made mission with urban AI script, nothing wrong here. I can run mission with preview mode in editor and on local mp mode.

But when PBO loaded onto web server off-site keep getting script error unable to load. The PBO has scripts and other required files included in itself, there are no folders inside PBO.

I've search for an answer and chat'd with m8's about this, with no luck.

I've had no issue with making mission with scripts in OFP.

An I missing something?

Share this post


Link to post
Share on other sites

For some reason ArmA doesn't see the script inside the PBO.

Share this post


Link to post
Share on other sites

You know, I had that problem a while back.

It turned out to be something really stupid too.

If I remember correctly, it was this:

In my mission, I called

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

[] execVM "\CSL_Scripts\DetectOutOfBounds.sqf";

And that worked just fine in preview mode, but not when I packed it and tried to play it in refular mode. The fix was taking off that front backslash.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

[] execVM "CSL_Scripts\DetectOutOfBounds.sqf";

My memory is faulty, and that may not have been exactly it. I do remember for sure that it was something very dumb like that though.

Share this post


Link to post
Share on other sites

Yep, same here. Turns out that only one AI had the incorrect script name loaded, took me 1/2 hour to locate which one.

Thanks guys.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×