Page 1 of 1

A question that I can't title

PostPosted: Fri Dec 15, 2006 2:03 pm
by Troodon
Hi,
I don't know how to title this question but this is what I want to do:

I have a actor variable called: genome.
It's generated automaticly in create actor and the number is random between 0-5. (I can make this but the problems comes now)

I wrote in draw actor:
If (genome > 4)
{
the action;
}

However it's not working. I don't know why but the action is never coming. I tried it with text actors and textNumber and it works very well. All the text actors with textNumber over 4 are coming with the action.
Can someone help me, please? :? :wink:

PostPosted: Fri Dec 15, 2006 2:19 pm
by makslane
Try make genome a real variable, not integer

PostPosted: Fri Dec 15, 2006 2:24 pm
by Troodon
It's working!!!!!!!!!!!!!
:D :D :D :D :D :D
Wooooohoooooooooo, this opened many doors for my current project!!!
Thanks!! :D :D :D 8)