It is currently Thu Jan 07, 2010 10:47 pm



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>!


Post new topic Reply to topic  [ 74 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject:
PostPosted: Fri Sep 12, 2008 3:49 pm 
Offline
Houndeye
Houndeye
User avatar

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"


Report this post
Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 18, 2008 11:24 am 
Offline
Tails
Tails
User avatar

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


Report this post
Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 18, 2008 2:56 pm 
Offline
Houndeye
Houndeye
User avatar

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"


Report this post
Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 23, 2008 11:40 pm 
Offline
Tails
Tails
User avatar

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


Report this post
Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 24, 2008 5:40 am 
Offline
Houndeye
Houndeye
User avatar

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"


Report this post
Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 24, 2008 8:51 pm 
Offline
Tails
Tails
User avatar

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


Report this post
Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 27, 2008 6:27 pm 
Offline
Tails
Tails
User avatar

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


Report this post
Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 28, 2008 8:30 am 
Offline
almost a headcrab, 5 more to go
almost a headcrab, 5 more to go
User avatar

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~


Report this post
Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 28, 2008 5:23 pm 
Offline
Tails
Tails
User avatar

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


Report this post
Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 28, 2008 5:48 pm 
Offline
almost a headcrab, 5 more to go
almost a headcrab, 5 more to go
User avatar

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~


Report this post
Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 28, 2008 5:49 pm 
Offline
Tails
Tails
User avatar

Joined: Tue Apr 08, 2008 1:49 am
Posts: 2728
Location: Baily, Colorado
THANK YOU! =D

_________________
The best thing about music is when it hits you, you feel no pain.
~Bob Marley


Report this post
Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 28, 2008 5:57 pm 
Offline
Hulk Hogan
Hulk Hogan
User avatar

Joined: Wed Apr 09, 2008 2:42 pm
Posts: 2158
SICKMAN BLAST IS SO AWESOME!

_________________
Image
LATEST PROJECT: IN EDITING STAGE!!!


Report this post
Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 28, 2008 6:02 pm 
Offline
Tails
Tails
User avatar

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... :cry:


Attachments:
File comment: OH NOES I GOTS A ERRORS!
OH NOES A VOMIT PUMPKIN!.png
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
Report this post
Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 28, 2008 6:11 pm 
Offline
Mudkip
Mudkip
User avatar

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... :cry:


O_O thats a big picture!
and i see ur on the biverse... :twisted:

_________________
Image


Report this post
Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 28, 2008 6:49 pm 
Offline
almost a headcrab, 5 more to go
almost a headcrab, 5 more to go
User avatar

Joined: Fri Jun 20, 2008 10:40 am
Posts: 72
lol you have to create the variable before you use it!

_________________
~TW~


Report this post
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 74 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next


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

Search for:
Jump to:  
cron