Jump to content
Sign in to follow this  
spitfire007

Can't execute SQF files with the STRA Debugger

Recommended Posts

I have made a simple MP mission in Operation Arrowhead with one file called hint.sqf

When I type execVM hint.sqf no hint comes up.

Yet if I type hint "hello" into the top boxes it works fine.

What could I be doing wrong ? I have looked everywhere for a proper tutorial on this debugger but have come up empty.

Share this post


Link to post
Share on other sites

Dont know what STRA debuger is, but i know one thing for sure: Noone will help you. Because you didnt give any info about your problem.

Where do you type the execVM? Where do you type hint "hello" ? Whats inside your hint.sqf? Where is Hint.sqf located?

If you call the hint.sqf by trigger you need to type null = execVM "hint.sqf".

if you call it from init.sqf then it have to be [] execVM "hint.sqf"

And iam in wrong forum. Feth it!

Edited by Mirek

Share this post


Link to post
Share on other sites

Thanks for the reply.

Yes .. I didn't provide enough information.

Where do you type hint "hello" ?

In the variable boxes at the top.

STRA debuger is this. http://www.armaholic.com/page.php?id=5774

I put a file in the mission root folder called hint.sqf.

File contents.

Hint "hint.sqf running";

Using the information you provided I tried to call it in the debug console using.

null = execVM "hint.sqf" ... then pressed the EXEC button.

[] execVM "hint.sqf" ... then pressed the EXEC button.

Neither method worked.

I also tried.

hint.sqf

"hint.sqf"

hint.sqf;

"hint.sqf";

null = execVM "hint.sqf"; this give the error hint.sqf not found. But it's in the root directory of the mission ! ???

[] execVM "hint.sqf";

I hope that's enough information for you and thanks again for your reply.

edit:

I just typed [] execVM "hint.sqf" into the top variables box and it gave this output.

mpmissions\__CUR_MP.Chernarus\hint.sqf

BUT .. the hint did not appear.

Edited by spitfire007
new information

Share this post


Link to post
Share on other sites

Iam bit confused here.

According the link you posted, that stra debuger is some sort of debugg tool. ok.

But if you want just hint that says hallo, why you just dont make a trigger with hint "hello"; Why do you make script for it, and why use this debug tool for a hint?

I dont know i only play arma 2 and this is Arma: Armed Assault thread. I dont know how editor lokks or works in armed assault, i wandered here by accident, but:

In arma 2 editor, if i want some text to appear on certain conditions, i would just place trigger, set the conditions (blufor, present. forexmaple), and to the "on act." field i would type:

 hint "hello";

Share this post


Link to post
Share on other sites

Thanks Mirek I have figured out what I was doing wrong.

You have to have the file in the correct directory before you try to EXEC it in the debugger.

Thanks for your help.

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  

×