Jump to content
Sign in to follow this  
jordanbache97

Simple issue with init script

Recommended Posts

Hi guys

I have not played arma for about a month and Im stuck on a init script and I cant see whats wrong with it.

[this, "general.sqf"] execVM "loadouts\general.sqf";

This is for an ammo box, can someone please just see what is wrong please.

Jordan

Share this post


Link to post
Share on other sites

There is a "this" variable so I'm assuming you're trying to put this in the ammoboxes' init and it's giving you an error.

Try this:

[color="#FF8040"][color="#1874CD"]_handle[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color]this[color="#8B3E2F"][b],[/b][/color] [color="#7A7A7A"]"general.sqf"[/color][color="#8B3E2F"][b]][/b][/color] [color="#191970"][b]execVM[/b][/color] [color="#7A7A7A"]"loadouts\general.sqf"[/color][color="#8B3E2F"][b];[/b][/color][/color]

Made with KK's SQF to BBCode Converter

Edited by 654wak654

Share this post


Link to post
Share on other sites

Maybe something is wrong with the script then? You could share it if you want. I really don't get why you're adding the script file name there. Also do you have the -showScriptErrors parameter on? If not it'll help you in finding script errors (-cpt. obvious). In the launcher it's under Parameters >> Advanced >> Author.

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  

×