Author Topic: Yet another question (Text Boxes)  (Read 5951 times)

0 Members and 1 Guest are viewing this topic.

Offline Corby

Yet another question (Text Boxes)
« on: May 02, 2003, 02:00:51 AM »
How do you have a text message on the screen and have at the same time, animation occuring? I was thinking about using this for dialogue. Is this possible? I'm sure I've seen it somewhere.



Offline Chris Cromer

Re:Yet another question (Text Boxes)
« Reply #1 on: May 02, 2003, 04:05:32 AM »
Yes it is possible... I can't remember the exact code to do it at the moment... I really need to start working in AGI more. :-\
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)

Offline Corby

Re:Yet another question (Text Boxes)
« Reply #2 on: May 02, 2003, 04:25:00 AM »
I looked around in the help file at the display commands, can't find anything specific. What does print.at do?

Offline Chris Cromer

Re:Yet another question (Text Boxes)
« Reply #3 on: May 02, 2003, 04:26:02 AM »
Give me a few minuted, I did this in the intro for a version of V... just need to examine my old code.
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)

Offline Sami Tervo

Re:Yet another question (Text Boxes)
« Reply #4 on: May 02, 2003, 04:32:15 AM »
Set flag 15 to enable other action while text-box is on. To close text box use close.window-command.
Apocalyptic Quest [ http://apocalypticquest.cjb.net ] No Mutants Allowed [ http://www.nma-fallout.com ] Batmud [ http://www.bat.org ]

Offline Chris Cromer

Re:Yet another question (Text Boxes)
« Reply #5 on: May 02, 2003, 04:38:49 AM »
Found it:

Code: [Select]
set(f15);
v21 = 10;
print("message");

This shoud do it. :)

Just change 10 to a higher or lower number depending on how long you want the window to stay open.

[EDIT]I modified my code, I accidentally put reset instead of set.[/EDIT]
« Last Edit: May 02, 2003, 05:12:24 AM by Chris Cromer »
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)

Offline Oliver

Re:Yet another question (Text Boxes)
« Reply #6 on: May 02, 2003, 05:09:03 AM »
I looked around in the help file at the display commands, can't find anything specific. What does print.at do?

Print.at means that you can print the text on some position.
You got it!
The New website of Extime is ready!
http://www.hot.ee/extime
Also, there is a message-board at:
http://www.zone.ee/eostuff/forum/index.php

Kon-Tiki

  • Guest
Re:Yet another question (Text Boxes)
« Reply #7 on: May 02, 2003, 12:39:17 PM »
Heh, that didn't even work for me ::)

-Kon-Tiki-

Joey

  • Guest
Re:Yet another question (Text Boxes)
« Reply #8 on: May 02, 2003, 06:44:02 PM »
is v21 a user defined variable, or was it all ready set by agi studio?

Offline Corby

Re:Yet another question (Text Boxes)
« Reply #9 on: May 03, 2003, 02:35:44 AM »
Thanks for the help, when I put this in my game, I'll let you know how it went.

Offline Chris Cromer

Re:Yet another question (Text Boxes)
« Reply #10 on: May 03, 2003, 11:43:18 AM »
is v21 a user defined variable, or was it all ready set by agi studio?

v21 isn't used by AGI Studio. ::) None of the variable are used by AGI Studio. ;) They are used by the AGI Interpreter ;)

And yes v21 is used by the AGI interpreter it determines the ammount of time the text window should stay open(for a dialog box) then closes it after the time in v21 is up.

Kon-tiki, make sure that you got my latest code, I modified it yesterday when I noticed that I used reset instead of set on f15. And yes it does work... although I only tried it in NAGI since AGI doesn't work in XP.
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)

Joey

  • Guest
Re:Yet another question (Text Boxes)
« Reply #11 on: May 03, 2003, 05:23:46 PM »
ok genious. ;)
also, is there a variable the INTERPRETER uses for a timer? i always run into trouble where i need a timer, and i really dont want to make my own. :-\

Offline Chris Cromer

Re:Yet another question (Text Boxes)
« Reply #12 on: May 03, 2003, 06:11:55 PM »
Nope there isn't.
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)

Offline Zero

Re:Yet another question (Text Boxes)
« Reply #13 on: May 11, 2003, 10:57:49 AM »
Thanks for that code i also needed it :)
(also thanks Corby for putting the question up)
Zero has just programmed a post please read.

Offline Joel

Re:Yet another question (Text Boxes)
« Reply #14 on: May 12, 2003, 05:37:32 PM »
do we have something against define names?


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.05 seconds with 21 queries.