Corby | 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. |
AGI1122 | 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. :-\ |
Corby | I looked around in the help file at the display commands, can't find anything specific. What does print.at do? |
AGI1122 | Give me a few minuted, I did this in the intro for a version of V... just need to examine my old code. |
Sami_Tervo | Set flag 15 to enable other action while text-box is on. To close text box use close.window-command. |
AGI1122 |
Found it:set(f15); 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] |
Oliver |
Corby wrote: Print.at means that you can print the text on some position. |
Kon-Tiki |
Heh, that didn't even work for me ::) -Kon-Tiki- |
Joey | is v21 a user defined variable, or was it all ready set by agi studio? |
Corby | Thanks for the help, when I put this in my game, I'll let you know how it went. |
AGI1122 |
Joey wrote: 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. |
Joey |
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. :-\ |
AGI1122 | Nope there isn't. |
Zero2003 |
Thanks for that code i also needed it :) (also thanks Corby for putting the question up) |
Joel | do we have something against define names? |
Zero2003 | I dont think so , do you? |
AGI1122 |
He wasn't refering to you. ::) Do you even know what he was talking about? Or where you just replying for the sake of it? ::) |
Zero2003 | sorry i thot he was talking about the agi thing defined variables. |
Joel | that is what I was talking about, but you never posted anything related to define names. I was referring to using f15 instead of windows_remain and v21 instead of window_close_time (and using f0 instead of ego_on_water in another thread). |