Osmo88 10 Posted May 6, 2013 Hi! Im making this mission where is 3 sides (civilian=freedom fighters, Blue team = Nato and red team as Local army force.) And I got this erros message after while -> '(|#|_wantTalk select0) || (((random 1)<_P...' Error undefined variable in experssion: _wanttalk" Any idea? Ps. Hope this is in right place. Share this post Link to post Share on other sites
killzone_kid 1331 Posted May 7, 2013 what is that hash doing in front of it? Share this post Link to post Share on other sites
Larrow 2822 Posted May 7, 2013 @Killzone - Thats the error message they are posting there. |#| shows the position of the error 'undefined variable in experssion: _wanttalk'. @Osmo88 Without further information there is not a lot to go on. 'undefined variable in experssion: _wanttalk' is exactly that, the variable _wanttalk has not been defined within your script Share this post Link to post Share on other sites
killzone_kid 1331 Posted May 7, 2013 Dude, arma errors look like this Error in expression < ..... Error position: <..... Hash must be in his code. Share this post Link to post Share on other sites
arjay 7 Posted May 7, 2013 iirc _wantTalk is a variable defined in the civilian sites module code, which I don't think is operational at the moment Share this post Link to post Share on other sites
jasin 1 Posted May 7, 2013 @KK No, the hash is in my .rpt as well, when there is an undefined variable, or an error with a variable. @Osmo Don't you think it would be easier for people to help..if you provided the actual script? :) Share this post Link to post Share on other sites
killzone_kid 1331 Posted May 7, 2013 @KK No, the hash is in my .rpt as well, when there is an undefined variable, or an error with a variable. Do you mind to copy paste it? I have never seen one. Just made a undef error to see what goes in .rpt Error in expression <etVariable [_sqdid, _grp];}; diag_log (_grpid); }; call fill_select_squad; }; > Error position: <_grpid); }; call fill_select_squad; }; > Error Undefined variable in expression: _grpid No hashes. Share this post Link to post Share on other sites
Harzach 2517 Posted May 7, 2013 KK - Have you never used showscripterrors? Share this post Link to post Share on other sites
killzone_kid 1331 Posted May 8, 2013 KK - Have you never used showscripterrors? http://i13.photobucket.com/albums/a297/Dotanuki/Screens/error_zpsc3890407.png oooookey so it has nothing to do with .rpt. I tried to use -showscripterrors with A2 before but it made no difference so i couldn't be bothered with A3. Share this post Link to post Share on other sites
jasin 1 Posted May 8, 2013 Ah, yes..it was in my showscripterrors instead of my .rpt. Apologies. Share this post Link to post Share on other sites