Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I'm working on a code for clearing the waypoint course
#2
First of all, the if (false) condition is not doing anything - you are saying that the code in the following block should execute if the expression false evaluates to true which will never happen. What you probably intended to write is if(item == null), which means execute if the item was not found. You will also have to move the whole if instruction between the radar and goto lines (because you can't go to somehing that doesn't exist).


Messages In This Thread
RE: I'm working on a code for clearing the waypoint course - by krzys_h - 07-19-2018, 08:11 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)