Page 1 of 1

How change the text of actor?

PostPosted: Fri Jul 03, 2009 7:07 pm
by futuro
When create an actor as text, how change the text?

I want create one actor what text: "please continue" and in a timer (750) actor text: "push start"

who can help me?

Re: How change the text of actor?

PostPosted: Fri Jul 03, 2009 8:35 pm
by skydereign
Have a text actor, that says the "please continue". Then on a single timer event, put this in script editor.
Code: Select all
strcpy(text, "please continue");

That should work.

Re: How change the text of actor?

PostPosted: Fri Jul 03, 2009 10:14 pm
by DST
and to set it from a different actor, just insert the name before text.

as in

strcpy(actorname.text, "blahblah");

Re: How change the text of actor?

PostPosted: Sat Jul 04, 2009 7:09 am
by futuro
ok, thanks, yours scored go to infinite... :D :)