How do you change text without changing actor?

Talk about making games.

How do you change text without changing actor?

Postby NUTINC » Wed Oct 03, 2007 3:01 am

Since there are too many forum posts on health text bars. :(
finding a post about changine cutscene text is pretty much impossible for me.
Anyone know how? or if there actually is a post could you link to it?
TANK YOU!
To those of you out there, I am not dead. I am a ghost! There is a difference!
Currently Working on: Parts, A self-assembling adventure
User avatar
NUTINC
 
Posts: 98
Joined: Fri Feb 09, 2007 1:06 am
Location: Lost in the deep dark recesses of my mind, wondering why the exit sign leads to brick wall
Score: 6 Give a positive score

Re: How do you change text without changing actor?

Postby Rux » Wed Oct 03, 2007 9:23 pm

I do. There are two ways. If out of script editor: Choose an event and choose SET TEXT Action then fill out the info and there you go! In Script Editor: This is harder. There is no set text function in script editor, so how do you change text? Da da da DA!Thats where "strcpy" comes in!Make an event and in script editor,
Code: Select all
strcpy(//Name of the text actor that changes\\.text, "//Whatever you want the text to say\\");
This works. Try it
I'm not good at coming up with signatures...
User avatar
Rux
 
Posts: 645
Joined: Sun Apr 29, 2007 9:26 pm
Location: Sitting on your moniter invisable.
Score: 35 Give a positive score

Re: How do you change text without changing actor?

Postby NUTINC » Wed Oct 03, 2007 11:53 pm

:mrgreen: point!
To those of you out there, I am not dead. I am a ghost! There is a difference!
Currently Working on: Parts, A self-assembling adventure
User avatar
NUTINC
 
Posts: 98
Joined: Fri Feb 09, 2007 1:06 am
Location: Lost in the deep dark recesses of my mind, wondering why the exit sign leads to brick wall
Score: 6 Give a positive score

Re: How do you change text without changing actor?

Postby Rux » Thu Oct 04, 2007 1:24 am

Thanks
I'm not good at coming up with signatures...
User avatar
Rux
 
Posts: 645
Joined: Sun Apr 29, 2007 9:26 pm
Location: Sitting on your moniter invisable.
Score: 35 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron