Thread: Sign messages
View Single Post
  #7  
Old 04-25-2012, 07:39 AM
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
Dusty I am fixing this up a bit, probably not efficiently though.. I wanted to reread this statement to see if anyone has said anything helpful and so far not really.

Do you mind linking me to yours?

Currently what I've fixed on this is hiding and showing and not destroying.
The problem where you had to click the screen to actually press a button.
I've made it so you set the speed externally depending on who or what is saying it (I should add in if it is a person or sign)
I have made it so it can speed up the process by pressing right a few times each time making it go faster.
At the end of the page if you press right it ends the page (this means you need to use say3A and say3B, B for when there is another page).
I need to add it to finish the page when down is pressed and to go back a page when left is pressed.

Possibly add in head images if that is possible, and each page will have to be put in externally while using a timeout. This will allow there to be use of GUI buttons if there might be a yes or no question or whatever...

Dusty please get back to me? Yours could be more efficient to work with since I'm not a great programmer and still claim the basics at the least, as I always will since there is always much to learn. :]


PHP Code:
NPC 24 21
//#CLIENTSIDE
function onPlayerEnters(){
  
this.join("functions_say3");
  
this.say3B("
Text stuff here.
"
,.1);
  
onTimeout();
}

function 
onTimeout(){
  if (
this.textStop == && this.read == 1){
   
this.say3B(" Oh I see... Well I will get right on that",.11);
  }
  
settimer(.05);
}
NPCEND 
Each page finished this.read++;
.1 and .11 is the text speed, which subtracts by .02 each time the right key is pressed.
__________________

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



Reply With Quote