AliMag 0 Posted August 16, 2009 Hi, I have a simple debug dialog that I use during mission development to test variables and call expressions for debugging purposes. The dialog has only 3 controls. An edit control and 2 command buttons (Ok and Close). The ID of the edit control is 99. The action property of the Ok button is: action = "call (ctrlText 99)"; In other words, clicking the Ok button execute (using the call statement) the expression that I've typed in the edit box. So if I type player switchCamera "external" in the edit box and click Ok, the player view should change to external. This was working perfectly in OFP. Now, nothing happens. It's not like the call command is not working anymore because if I type directly in the Ok button action property it works: action = "call {player switchCamera ""external""}"; works perfectly. I've tried typing the expression as above in the edit box, nada. Again, what troubles me is that was working perfectly in OFP. Any help will be appreciated. Thanks in advance Cheers Share this post Link to post Share on other sites
AliMag 0 Posted August 16, 2009 (edited) Solved! The string expression that you're executing must be compiled before: call (compile <expression>) Edited August 17, 2009 by AliMag Share this post Link to post Share on other sites
kylania 568 Posted August 17, 2009 Please post how you solved it in case others have the same problem. :) Share this post Link to post Share on other sites