Jump to content
Sign in to follow this  
Nagase

Multiple scripts in description.ext

Recommended Posts

Hi everyone.

I'm trying to add multiple scripts to my description.ext however I keep getting this error:

http://s11.postimg.org/h26hepr43/error1.jpg

Below is the script I am using in my description.ext. The top line is a temporary placeholder for ACRE, works perfectly. However adding in the second line to disable friendly AI on my mission gives me the above error.

#include "sub_radio\sub_radio_UI.hpp";

};

disabledAI=1

I have tried various different combinations however none seem to allow me to open the mission.

Thanks guys.

Share this post


Link to post
Share on other sites

The only error I see in that code is that #include doesn't require a semi-colon at the end if I recall correctly. I'm not sure if that would solve the issue or not though.

Also, this forum topic is for posting completed user-made missions. You will want to use this forum topic instead.

Edited by TehSleuth

Share this post


Link to post
Share on other sites

Ah thanks Sleuth, I'll give it a try.

Ah didn't read the topic properly haha. Could I get a mod to move/delete this thread for me please? :)

Thanks.

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  

×