I got game editor recently, and tried to make a simple program that when the spacebar is pressed, a random number appears (like a virtual dice). I put in the action "Script Edit", and put in this:
strcpy(aaa.text, rand(6));
when I try to click 'ok', it comes up with this error:
"Error Line 1: Incompatible types: cannot convert from 'double' to '* const char' "
What am I doing wrong?