Page 1 of 1

texting?

PostPosted: Wed Oct 17, 2007 3:05 am
by jagheera nex
ok in my game there is a actor thing were you can costomize your actor like his name ect. and his name floats above his head and i have a textbox, but i want it so when youtype in the textbox it prints the name above the actors head and it stays there forever. :?:

Re: texting?

PostPosted: Wed Oct 17, 2007 5:50 pm
by Troodon
Well, make the actor create the text actor when its created and make it also the parent of the text.
Then control the text content with a variable.
:)

Re: texting?

PostPosted: Wed Oct 17, 2007 10:36 pm
by jagheera nex
oh ok so i make the actor with the typing the parent of the actor that displays the players name? :oops: cuz it ain't workin :(

Re: texting?

PostPosted: Thu Oct 18, 2007 6:33 am
by Troodon
Lets say your actor name is Jagheera. Make a text actor and set so that it doesn't load when game starts.
Make this: create actor of Jagheera -> create actor textactor
and: create actor of textactor -> change parent -> Jagheera

Re: texting?

PostPosted: Sat Oct 20, 2007 1:12 am
by jagheera nex
im so sorry i just don't get it, when i did that it just made it so the text actor is the child of the typing actor. :oops:

Re: texting?

PostPosted: Sat Oct 20, 2007 9:47 am
by Troodon
Typing actor? The text actor should be the child of the actor of you show his attribute.
What attribute you are showing? Health?

Re: texting?

PostPosted: Sat Oct 27, 2007 4:06 am
by jagheera nex
typing actor as in the actor you type in :D sorry

Re: texting?

PostPosted: Sat Oct 27, 2007 4:01 pm
by Troodon
Well, make the typing actor child of the main actor. :)