View Single Post
  #2  
Old 01-28-2006, 04:40 PM
talkingnoodle talkingnoodle is offline
Rapidwolve
talkingnoodle's Avatar
Join Date: Nov 2005
Location: Leominster, MA
Posts: 229
talkingnoodle is on a distinguished road
Send a message via AIM to talkingnoodle Send a message via MSN to talkingnoodle
This is if you want it to be on one position of the screen
NPC Code:

function onCreated(){
this.sx = .95 * screenwidth; //screenx you want it to be in (.95) is the right side of your screen
this.sy = .90 * screenheight; //the higher the number the lower the text is going to show
}



now for the showtext part

NPC Code:

showtext(200,this.sx,this.sy, "font", "(b,i,r,c)", "text here");
changeimgvis(200,4); // it has to be over 4 for it to stick on the screen

__________________


AIM: Rapidwolve Graal
MSN: [email protected]


2/12/06 - Crossroads NPC Admin

Last edited by talkingnoodle; 01-28-2006 at 09:07 PM..