|
It is currently Thu Jan 07, 2010 10:47 pm
|
View unanswered posts | View active topics
| Welcome |
|
|
Welcome to <strong>The Biverse</strong>!
You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join our community today</a>! |
| Author |
Message |
|
K@ll
|
Post subject: Posted: Fri Sep 12, 2008 3:49 pm |
|
Joined: Wed Apr 09, 2008 2:35 pm Posts: 739 Location: ya'd like to know, wouldn't u?
|
|
I checked it out, but unfortuately came to the result that it's not gonna work the way you're doing it... I'm sorry =(
I have some ideas about string variables but I gotta work on them and try them.
thanks.
(PS: using animations for the words takes away waaaaaaaaaaaaaay too much memory! I'd rather consider using text actors.)
_________________ "So we must observe with hasty =3"
|
|
| Top |
|
 |
|
supλtails3
|
Post subject: Posted: Thu Sep 18, 2008 11:24 am |
|
Joined: Tue Apr 08, 2008 1:49 am Posts: 2728 Location: Baily, Colorado
|
|
I tried text actors and I know that would be WAAAAY easier and less laggy but I don't know how to use rand on text actors.
_________________ The best thing about music is when it hits you, you feel no pain. ~Bob Marley
|
|
| Top |
|
 |
|
K@ll
|
Post subject: Posted: Thu Sep 18, 2008 2:56 pm |
|
Joined: Wed Apr 09, 2008 2:35 pm Posts: 739 Location: ya'd like to know, wouldn't u?
|
it's rather simple:
make a variable, call it whatever you want (integer)
code is:
Code: var = rand(10); if(var == 1) {strcpy(textactor.text, "Hiya supa!");} if(var == 2) {strcpy(textactor.text, "Nice day!");} if(var == 3) {strcpy(textactor.text, "How's it goin?");} if(var == 4) {strcpy(textactor.text, "Welcome back!");} if(var == 5) {strcpy(textactor.text, "O_O!");} if(var == 6) {strcpy(textactor.text, "lawl!");} if(var == 7) {strcpy(textactor.text, "text.textwhatever...");} if(var == 8 ) {strcpy(textactor.text, "um?");} if(var == 9) {strcpy(textactor.text, "I think you're getting my point lol");} if(var == 10) {strcpy(textactor.text, "cya");}
_________________ "So we must observe with hasty =3"
|
|
| Top |
|
 |
|
supλtails3
|
Post subject: Posted: Tue Sep 23, 2008 11:40 pm |
|
Joined: Tue Apr 08, 2008 1:49 am Posts: 2728 Location: Baily, Colorado
|
|
AWESOME!!! Thank you, but I kind of need help understanding this fully. I can see these are responses but what are they responses too? Is this so this is what he randomly says, or are these replies to something you say?
_________________ The best thing about music is when it hits you, you feel no pain. ~Bob Marley
|
|
| Top |
|
 |
|
K@ll
|
Post subject: Posted: Wed Sep 24, 2008 5:40 am |
|
Joined: Wed Apr 09, 2008 2:35 pm Posts: 739 Location: ya'd like to know, wouldn't u?
|
|
right now he is responding randomly.
I also have a code for replying to a specific statement. But I gotta test it before releasing it to you.
_________________ "So we must observe with hasty =3"
|
|
| Top |
|
 |
|
supλtails3
|
Post subject: Posted: Wed Sep 24, 2008 8:51 pm |
|
Joined: Tue Apr 08, 2008 1:49 am Posts: 2728 Location: Baily, Colorado
|
|
How do I make it to where you are able to type into a box? And then where do I put this code (Like is it a draw actor/script editor?)
_________________ The best thing about music is when it hits you, you feel no pain. ~Bob Marley
|
|
| Top |
|
 |
|
supλtails3
|
Post subject: Posted: Sat Sep 27, 2008 6:27 pm |
|
Joined: Tue Apr 08, 2008 1:49 am Posts: 2728 Location: Baily, Colorado
|
|
bump
_________________ The best thing about music is when it hits you, you feel no pain. ~Bob Marley
|
|
| Top |
|
 |
|
TecWeed
|
Post subject: Posted: Sun Sep 28, 2008 8:30 am |
|
 |
| almost a headcrab, 5 more to go |
 |
 |
Joined: Fri Jun 20, 2008 10:40 am Posts: 72
|
|
1st quesition: you make a text actor and enable text input.
2nd question: I think it's best that you put that code on the mouse button down event (like for a button:"send message")
_________________ ~TW~
|
|
| Top |
|
 |
|
supλtails3
|
Post subject: Posted: Sun Sep 28, 2008 5:23 pm |
|
Joined: Tue Apr 08, 2008 1:49 am Posts: 2728 Location: Baily, Colorado
|
|
ok thank you but how do I script the text actor to allow me to type in it in-game, like a chat box thing, then when I press enter it sends to another box or dissapears? (sorry for all of these questions, I just want to be able to make games like you)
_________________ The best thing about music is when it hits you, you feel no pain. ~Bob Marley
|
|
| Top |
|
 |
|
TecWeed
|
Post subject: Posted: Sun Sep 28, 2008 5:48 pm |
|
 |
| almost a headcrab, 5 more to go |
 |
 |
Joined: Fri Jun 20, 2008 10:40 am Posts: 72
|
|
just like I said, enable text input.
to do that, make a text actor.
then go on "text" where you can determine what text this actor will display.
then at the bottom left, there's a small button which says "enable input" or something similar. there you can start to rock.
_________________ ~TW~
|
|
| Top |
|
 |
|
supλtails3
|
Post subject: Posted: Sun Sep 28, 2008 5:49 pm |
|
Joined: Tue Apr 08, 2008 1:49 am Posts: 2728 Location: Baily, Colorado
|
THANK YOU! 
_________________ The best thing about music is when it hits you, you feel no pain. ~Bob Marley
|
|
| Top |
|
 |
|
DRAZiACH
|
Post subject: Posted: Sun Sep 28, 2008 5:57 pm |
|
Joined: Wed Apr 09, 2008 2:42 pm Posts: 2158
|
|
SICKMAN BLAST IS SO AWESOME!
_________________
 LATEST PROJECT: IN EDITING STAGE!!!
|
|
| Top |
|
 |
|
supλtails3
|
Post subject: Posted: Sun Sep 28, 2008 6:02 pm |
|
Joined: Tue Apr 08, 2008 1:49 am Posts: 2728 Location: Baily, Colorado
|
I pu tthe code that you told me to and THIS is what came up... I am so lost... 
| Attachments: |
File comment: OH NOES I GOTS A ERRORS!

OH NOES A VOMIT PUMPKIN!.png [ 676.1 KiB | Viewed 22 times ]
|
_________________ The best thing about music is when it hits you, you feel no pain. ~Bob Marley
|
|
| Top |
|
 |
|
BlarghNRawr
|
Post subject: Posted: Sun Sep 28, 2008 6:11 pm |
|
Joined: Sat Sep 13, 2008 10:27 pm Posts: 923 Location: The Great White North.
|
supλtails3 wrote: I pu tthe code that you told me to and THIS is what came up... I am so lost... 
O_O thats a big picture!
and i see ur on the biverse... 
_________________
|
|
| Top |
|
 |
|
TecWeed
|
Post subject: Posted: Sun Sep 28, 2008 6:49 pm |
|
 |
| almost a headcrab, 5 more to go |
 |
 |
Joined: Fri Jun 20, 2008 10:40 am Posts: 72
|
|
lol you have to create the variable before you use it!
_________________ ~TW~
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Hosted by FreeForums.org | Create a free forum
|