extern bool Gobar0 = false;
I added a condition for entry using the variable:
&& Gobar0 = true
I get 2 errors for the above line:
"&&" - I value required
"=" - I value required
extern bool Gobar0 = false;
&& Gobar0 = true
"&&" - I value required
"=" - I value required
ronald828 wrote: Sat Jul 03, 2021 1:46 am I added an input as a bool variable:
extern bool Gobar0 = false;
I added a condition for entry using the variable:
&& Gobar0 = true
I get 2 errors for the above line:
"&&" - I value required
"=" - I value required
&&
- it looking for 2 conditions being met(condition1) && (Gobar0 = true)
The error saysDeez wrote: Sat Jul 03, 2021 2:19 am && - it looking for 2 conditions being met
(condition1) && (Gobar0 = true)
". . I-value required" , the letter i
It's one of six lines with six conditions. So I did a little trial and error looking at the other lines for clues.
Gobar0 = true is assignment not a comparison, you are missing one "="ronald828 wrote: Sat Jul 03, 2021 3:12 am It's one of six lines with six conditions. So I did a little trial and error looking at the other lines for clues.
So I tried "&& iCustom Gobar0 = true" and came up with a different error.
Then I tried "&& MathAbs (Gobar0 = true)" and I placed parentheses
around the condition as I saw them elsewhere. Now there are no errors
Thanks for chiming in Mladen. Very helpfulmladen wrote: Sat Jul 03, 2021 4:20 am Gobar0 = true is assignment not a comparison, you are missing one "="