text in script editor

Game Editor comments and discussion.

text in script editor

Postby jagheera nex » Thu Oct 18, 2007 12:50 am

in my game im makeing a tutorial at the begining and i what it so when youclick "ok" on the info bow it changes the text in the info bowto a diffrent tip, i have a varrible "click" and i have it so when i click on the "ok" botton it makes the click arrible go down one, what i figured i should do is make it so when the "click" varrible equels a certain number it changes the text but i don't know how to change the text in script editor. :P
User avatar
jagheera nex
 
Posts: 46
Joined: Sat Jul 28, 2007 4:13 pm
Location: dik
Score: 1 Give a positive score

Re: text in script editor

Postby Game A Gogo » Thu Oct 18, 2007 1:07 am

simple
Code: Select all
strcpy(text, "Enter your text here");

Note:
Use the escape sequence (\) for the following character:
"
'
\
Note #2:
\n is like enter, newline
\t is like tab
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Re: text in script editor

Postby jagheera nex » Thu Oct 18, 2007 2:04 am

thanks 1point!
User avatar
jagheera nex
 
Posts: 46
Joined: Sat Jul 28, 2007 4:13 pm
Location: dik
Score: 1 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron