se7en Posted January 10, 2015 Report Share Posted January 10, 2015 Hi there! First of all im very beginner in all these stuff and could do something wrong so please help me ;) Got a menu that which i press i see some options to choose from. Not gonna paste all the code just some: pathtomyscripts = "custom\scripts\"; EXECscript = 'player execVM "'+pathtomyscripts+'%1"'; and got the Menu option like that: ["Move!!", [1], "", -5, [["expression", format[_EXECscript, "move.sqf"]]], "1", "1"], So... In the mission file/custom/scripts/move.sqf i got that: _action = _this select 0; player playMoveNow _action; cutText["Press V to cancel movement","PLAIN DOWN"]; Not sure if doing something wrong but thats not working... Any help appreciated what could i do wrong in there. I believe my menus are fine... So got no idea why this doesnt work ;( EDIT::: I'm an idiot! _EXECscript => EXECscript But it doesnt changes that this script isnt working... Link to comment Share on other sites More sharing options...
0 Tech_Support Posted January 10, 2015 Report Share Posted January 10, 2015 if you have the file In the mission file/custom/scripts/move.sqf should the file path be the same like this ? ["Move!!", [1], "", -5, [["expression", format[_EXECscript, "custom\scripts\move.sqf"]]], "1", "1"], Link to comment Share on other sites More sharing options...
0 se7en Posted January 10, 2015 Author Report Share Posted January 10, 2015 if you have the file In the mission file/custom/scripts/move.sqf should the file path be the same like this ? ["Move!!", [1], "", -5, [["expression", format[_EXECscript, "custom\scripts\move.sqf"]]], "1", "1"], It is same path mate... pathtomyscripts = "custom\scripts\"; EXECscript = 'player execVM "'+pathtomyscripts+'%1"'; and got the Menu option like that: ["Move!!", [1], "", -5, [["expression", format[_EXECscript, "move.sqf"]]], "1", "1"], Means, player execVM custom\scripts\move.sqf But actually paths are fine for sure, thats i know, because got other script that works already. I believe there is an error with move.sqf file Link to comment Share on other sites More sharing options...
0 DeanReid Posted January 10, 2015 Report Share Posted January 10, 2015 pathtomyscripts = "custom\scripts\"; EXECscript = 'player execVM "'+pathtomyscripts+'%1"'; try this _EXECscript = 'player execVM "custom\scripts\%1"'; with _ in EXECscript Link to comment Share on other sites More sharing options...
0 se7en Posted January 11, 2015 Author Report Share Posted January 11, 2015 I believe its not about launching script because it already launches. Got same line above for other menu option with other .sqf script and it WORKS. this means the error is in the sqf script of that one. You do think that this is good script?: _action = _this select 0; player playMoveNow _action; cutText["Press V to cancel movement","PLAIN DOWN"]; Link to comment Share on other sites More sharing options...
Question
se7en
Hi there!
First of all im very beginner in all these stuff and could do something wrong so please help me ;)
Got a menu that which i press i see some options to choose from.
Not gonna paste all the code just some:
and got the Menu option like that:
So...
In the mission file/custom/scripts/move.sqf i got that:
Not sure if doing something wrong but thats not working...
Any help appreciated what could i do wrong in there.
I believe my menus are fine... So got no idea why this doesnt work ;(
EDIT:::
I'm an idiot! _EXECscript => EXECscript
But it doesnt changes that this script isnt working...
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now