
mgodsell1973
United Kingdom
Asked
— Edited

Hi guys and galls,
I am writing a script for K9, that depending on which glyph he sees first determines what he does next. now I am taking this step by step to increase my learning of ez script, so the plan is as follows.
When asked to "patrol", he wanders off and looks for glyph 3, then moves on looking for glyph 4, then glyph 2, then back home to glyph 1, with actions at the stops.
Now I have written what I believe to be the code and uploaded to the cloud, but, I just want a sense check to see if this is the right direction, or is there a better way to do this.
Thanks in advance for your patience whilst I am learning :-)
HAHAHAHAHAHA. i got it
HI guys and Galls,
i am making progress ( i know i keep saying it
).
but i have came a small stumbling block and need some guidance.
how do i semi permanently alter the value of a variance, i have managed to use the "$CameraIstracking" variable to alter the state of some home brewed variables, however i want certain ones to remain at "1" until i ask it to revert back.
currently the problem i have is that it is reverting back to "0", this will be a simple fix but have tried to work it out myself with no luck.
thanks once again for reading.
Your question is a little unclear, it may be easier if you explained exactly what you are trying to achieve.
I presume you will need to use IF and ELSEIF with OR and AND in the conditions however with the brief, vague and confusing information provided it's difficult to answer.
First look at why it's reverting back to 0, you must be telling it to revert back to 0. Surround the commands that revert it back to 0 with an IF statement with the conditions that match when you want it to revert back to 0, if the conditions are not met then it wont run the code between the IF and EndIf
Hi All,
Happy new year to all
just a quick update to this thread, i have managed to write the code for what i wanted K9 to do. (it may not be the cleanest but it works)
Thanks to @Rich and @Richard R for your patience with my ambiguously worded questions.
the file has been uploaded "K9", please feel free to have a look and offer advice for any improvements that you think might work.
i will be uploading a video, but i am currently experiencing traction issues that i am working on.
thanks once again
P.S R.A.D has arrived and, family time - whats that LOL