Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   New Scripting Engine (GS2) (https://forums.graalonline.com/forums/forumdisplay.php?f=153)
-   -   GS2: Scrolling Text? (https://forums.graalonline.com/forums/showthread.php?t=73816)

Dionysus 05-04-2007 02:23 PM

GS2: Scrolling Text?
 
I always wondered how to make text act like its scrolling, so can someone like instruct me how to make a Gscript2 Scrolling Text it doesnt matter how its display i would assume you'll use 'player.chat' but up to you if you instruct me.

[Instruct please i need to learn how to scroll text so i can make better npcs :cry:]

Novo 05-04-2007 03:56 PM

Quote:

Originally Posted by Dionysus (Post 1305415)
I always wondered how to make text act like its scrolling, so can someone like instruct me how to make a Gscript2 Scrolling Text it doesnt matter how its display i would assume you'll use 'player.chat' but up to you if you instruct me.

[Instruct please i need to learn how to scroll text so i can make better npcs :cry:]

What exactly do you mean by scrolling?

How I see it is like Star Wars introduction with the text going up.

Crow 05-04-2007 04:22 PM

Maybe scrolling text from right to left or from left to right, without any "hopping around" because you are just removing a char.

Novo 05-04-2007 04:22 PM

According to Twinny, this is what you want...

PHP Code:

function onCreated() onTimeout();
function 
onTimeout()
  {
  
player.chat player.chat.substring(1) @ player.chat.substring(0,1);
  
setTimer(0.1);
  } 


DustyPorViva 05-04-2007 05:04 PM

Hmm, I've never messed around with it, but I think it would be possible to do something like this with GUI's, if you hide the scrollbars and profile. Though I've never messed with it, would be a bit smoother.


All times are GMT +2. The time now is 09:46 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.