For some reason DayZ does not execute Statements after the Closing Bracket of Else if Statements if they are in the same line (check the example below)
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- General
Steps To Reproduce
Load the Following MissionServer Class:
modded class MissionServer { void MissionServer() { Print("Pre Test 1"); if (1 == 1) { } else if (2 == 2) { }Print("Not Printed"); // <---------- ERROR HERE Print("Is Printed"); Print("End Test 1"); Print("Start Test 2"); if (1 == 1) { } else { if (2 == 2) { } }Print("Is Printed Now"); Print("Is Printed"); Print("End Test 2"); } }