If statements and switch statements seem to not work at all, they execute the code in their block even if the condition isn't met.
- Legacy ID
- Not A Bug
Steps To Reproduce
- Create init.sqf
- Add below code to file:
_which_one = "two"
if (_which_one == "three") then
- Add unit to map and under initialization add code exec "init.sqf"
- Watch as the hint is displayed on the screen.
This is reproducible with switch statements as well.