Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / Help with this if statement, please?

Author
Message
Golelorn
2
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 8th Jul 2019 18:39 Edited at: 8th Jul 2019 18:40


The Unit.ID = 100003
The PathNodes[slot].occupied = 100002

It should skip to the next iteration, but it doesn't . Any help on the syntax, please?

Attachments

Login to view attachments
Golelorn
2
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 8th Jul 2019 19:03
Oh jeez, I am an idiot. I was not defining slot until after the if statements. wow
fubarpk
Moderator
14
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 8th Jul 2019 20:14
Don't be discouraged we all have done similar and things like that can be hard to spot
fubarpk
fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk

Login to post a reply

Server time is: 2019-07-18 08:54:00
Your offset time is: 2019-07-18 08:54:00