Just started my first Boolean map and I am having a little problem. Here is the map link:
If you look at the code given to you when you start the board, it says to:
- Call inAttackRange(enemy), with the enemy as the argument
and save the result in the variable canAttack.
2)If the result stored in canAttack is True, then attack!
A) I am not sure what to do for 1 if someone could explain that in laymen’s terms.
B) How do I write a script that uses the return value of (True and False) as this is the first board to introduce the use of the result of a boolean.
Help is much appreciated on this!