121
Newbie / Introduction and Condition question
« on: October 23, 2008, 06:30:07 PM »
hey guys
I am new here so I guess I should ask a newbie question
Is > < = != %= %!= the only available conditions!
Not that you need any more it is just that I would like to use => and =< like you can In java.
I want to know because I am writing a DNA that compares the value of each eye and sees which one has the biggest value.
But if a bot intersects 2 or more of the eyes there values become equal and the bot malfunctions.
So I need to check that the value of each eye is bigger than or equal to.
It would be much easier to write my program If I can compare both in one line.
I have already tried to use the =< and => conditions and they seem to work.
My bots go totally mental though and they only lock onto there own kind instead of veges (put *.myeye *.refeye != as a condition, doesn't seem to work )
If These conditions are not available, maby it would be a good idea for a future version.
I will post my DNA if I actually get it to work.
cheers
I am new here so I guess I should ask a newbie question
Is > < = != %= %!= the only available conditions!
Not that you need any more it is just that I would like to use => and =< like you can In java.
I want to know because I am writing a DNA that compares the value of each eye and sees which one has the biggest value.
But if a bot intersects 2 or more of the eyes there values become equal and the bot malfunctions.
So I need to check that the value of each eye is bigger than or equal to.
It would be much easier to write my program If I can compare both in one line.
I have already tried to use the =< and => conditions and they seem to work.
My bots go totally mental though and they only lock onto there own kind instead of veges (put *.myeye *.refeye != as a condition, doesn't seem to work )
If These conditions are not available, maby it would be a good idea for a future version.
I will post my DNA if I actually get it to work.
cheers