This is what I am trying to do
I have a var called fish_counter. Tis is defined and hold a numeric value using text, Not panels
eg: fishcounter = 0;
display that number 0 on screen using text
also how i do physically change the size of text?
make it bigger and smaller. nayone know the command for that.
Below is code im using. it keeps crashing on fish_counter line
TEXT message_text =
{
layer = 3;
pos_x =525;
pos_y = 450;
size_y = 400;
offset_y = 0;
string ("YOU HAVE CAUGHT ","","Fish");
flags = CENTER_X | TRANSPARENT | VISIBLE;
}
function stoptimer()//function to display you caught **** no of fish
//if (count_Dmin == 1) //after 10 mins wiil put back later after testing complete
if (count_min == 1)
{total_fish.visible = on;
message_text.visible = off;//turns my test message string off
//freeze_mode = 2;
var score =(3);
var message = (30);
str_for_num (score, fish_counter);
str_cat(message,"You have ");
str_cat(message,score);
str_cat(message," fish!");
}
Many thanks
Last edited by markman; 09/02/08 04:56.