Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-04-2007, 02:23 PM
Dionysus Dionysus is offline
RTK| God of Wine
Dionysus's Avatar
Join Date: Apr 2007
Location: United States
Posts: 14
Dionysus is on a distinguished road
Send a message via AIM to Dionysus
Exclamation 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 ]
__________________


Reply With Quote
  #2  
Old 05-04-2007, 03:56 PM
Novo Novo is offline
[TServerDeveloper]
Join Date: Jun 2006
Posts: 448
Novo will become famous soon enough
Quote:
Originally Posted by Dionysus View Post
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 ]
What exactly do you mean by scrolling?

How I see it is like Star Wars introduction with the text going up.
Reply With Quote
  #3  
Old 05-04-2007, 04:22 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Maybe scrolling text from right to left or from left to right, without any "hopping around" because you are just removing a char.
Reply With Quote
  #4  
Old 05-04-2007, 04:22 PM
Novo Novo is offline
[TServerDeveloper]
Join Date: Jun 2006
Posts: 448
Novo will become famous soon enough
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);
  } 
Reply With Quote
  #5  
Old 05-04-2007, 05:04 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:21 AM.


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