gnrnr 0 Posted January 11, 2009 Hi all, I am getting the following error report in my arma.rpt file: Error in expression <if ((Count _targets) == 0) then {Goto "MoveTo> Â Error position: <Count _targets) == 0) then {Goto "MoveTo> Â Error count: Type Number, expected Array,Config entry My understanding is that _targets was unable to be "Count"ed as it was a number not an array. The script before this location reads: if ((TypeName _targets) != "ARRAY") then {[Format["%1Targets are not an array", _sideText]] Call TRACE; goto "MoveToLocation"}; Again, as i understand this, if _targets is not an array (eg number) the script should go to the moveToLocation within the script. Â This should mean that the Count _targets should never have been encountered. Â Have I done something wrong? Â The code in question is within an *.sqs file. Regards Gnrnr Share this post Link to post Share on other sites
wld427 1705 Posted January 11, 2009 you need to post this in the mission editing section... the gurus over there will be able to help you Share this post Link to post Share on other sites
snkman 351 Posted January 11, 2009 It would help if you could post the whole script. Share this post Link to post Share on other sites
gnrnr 0 Posted January 12, 2009 I'm moving this discussion over to the user missions forum. Regards gnrnr Share this post Link to post Share on other sites