Terrow Posted November 8, 2014 Report Share Posted November 8, 2014 I get this error when turning on the siren, not sure why. I still have more cars to add so I hope it's not because there's too many in one place? After the fact it locks out the commands. http://pastebin.com/0pVsTwGD Quote Link to comment Share on other sites More sharing options...
Chris07 Posted November 8, 2014 Report Share Posted November 8, 2014 In EM4, there is a limit to the number of comparisons you can make in an if statement. The exact number escapes me but I can confirm a limit exists. 23 is well beyond it though. Simply split up your longer statements into another else-if statement. Quote Link to comment Share on other sites More sharing options...
Terrow Posted November 8, 2014 Author Report Share Posted November 8, 2014 On 11/8/2014 at 7:39 PM, Chris07 said: In EM4, there is a limit to the number of comparisons you can make in an if statement. The exact number escapes me but I can confirm a limit exists. 23 is well beyond it though. Simply split up your longer statements into another else-if statement.Easy enough, thank you. Quote Link to comment Share on other sites More sharing options...
The Loot Posted November 9, 2014 Report Share Posted November 9, 2014 On 11/8/2014 at 7:39 PM, Chris07 said: In EM4, there is a limit to the number of comparisons you can make in an if statement. The exact number escapes me but I can confirm a limit exists. 23 is well beyond it though. I believe it's a simple character limit. Quote Link to comment Share on other sites More sharing options...