How i change the Text in the Script editor?

Non-platform specific questions.

How i change the Text in the Script editor?

Postby regine » Wed Mar 29, 2006 3:10 pm

How i can the Text from an Actor in the Script Editor?

I tested wíth:

Test.text = Test;

What i must do, to change the Text in the Script Editor.
My project: Packs Adventure
Now finished: Packs Adventure Demo:http://game-editor.com/forum/viewtopic.php?f=4&t=3491
Demo features:
Level 1-3
Leveleditor
Full edition features:
50 Levels
Big Leveleditor
Bonus features
Fighting mode
...and more
regine
 
Posts: 109
Joined: Mon Aug 15, 2005 7:19 pm
Location: Germany
Score: 1 Give a positive score

Postby frodo » Wed Mar 29, 2006 3:45 pm

say you want to change your text to:

hello
how are you?


Do this in script:

strcpy(aaaa.text,"hello \nhow are you");

The \n will make a new line.
User avatar
frodo
 
Posts: 127
Joined: Tue Mar 21, 2006 6:53 pm
Location: universe
Score: 2 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest