Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-26-2012, 05:44 PM
Devil_Lord2 Devil_Lord2 is offline
David K?
Devil_Lord2's Avatar
Join Date: Apr 2011
Location: PA, MD.
Posts: 643
Devil_Lord2 can only hope to improve
Ah I see... I'm not sure I would take your sign over this one, however I am interested in the chickens.. is it alright if I use the chicken images?
Actually I'm not sure, I can understand why you wouldn't want the whole sign to 'move on' without you per se...
But his I feel has a nice animated touch... so I don't know..

Also modify the old line with this:

PHP Code:
    this.punctuations = {'.','!','?',';',':'};
    for (
this.newText 0this.newText message.length(); this.newText ++) { 
      
say3_text.text "<font size = 20><b>" message.substring(0this.newText) @ "</b></font>";
      
say3_scroll.scrollToBottom();
      if (
message.substring(this.newText-11in this.punctuations){
        
sleep(this.ts 1);
      }
      else{
        
sleep(this.ts);
      }
      if (
skippage){
        break;
      }
    } 
I've fixed it so it does stop right AFTER the punctuation instead of before it lol... It also checks for other punctuation marks for after sentence pauses.
I've also made it show the window on the second messages so it doesn't 'take over control'.

I'll post the finished results when I'm done. I still would like to have it go back to separate old messages but that wouldn't be part of the class I don't think...
Unless it can save previous ones... I don't know. It would require some technical thinking that I'm not ready to give yet.

I'm wondering if I should reposition the join say3 part, so you can do the message first, and if you leave everything else null it will take the defaults...
(I've finished this, message comes first, then gani, then text_speed, then if it is a continuing message or not. So you could just do say3("message"); and leave it at that should you want to. Defaults are idle gani, .1 text speed, and ending sign. Once again I'll repost when it is finished.)




Problems noticed:
Currently having a problem with using it on another level, I don't think index 203 or 204 is used, however they aren't showing. I think this could easily be fixed by just making it a GUI instead of images.
__________________

Digital Media Artist - David K? </3 (UnLoved)
www.davidkrout.com
www.twitch.com/DavidKkz




Last edited by Devil_Lord2; 04-26-2012 at 06:54 PM..
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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:57 AM.


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