Thread: Questions
View Single Post
  #6  
Old 12-03-2004, 10:21 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
make an npc, better to use script's than the old graal way.

if (created){setshape 1,32,32}

Change the last 4 digits (32,32) but make sure you don't go under 10. It will be hard to locate it. Each tile is 16x16 in pixels. so 32x32 would be a square box. (The size of the sign).
Then you would add a

if (playertouchsme){say2 Your message here#b;}

The #b mean's there is a break. It will go off that line and continue onto the line below.
The whole script:

if (created){setshape 1,32,32;}
if (playertouchsme){say2 Welcome to Graal#b Have fun;}


A reason for the script is because you can also learn graal script. It's better to know the basic's than not know nothing =].

You could also add a

Message, replace this command with the say2 and see what happens =].

message Welcome to Graal =];

This will display the sign saying "Welcome to Graal =]". This can be used for alot of reason's. But if you want a graal char (An NPC) to say something you would use

setcharprop #c,Welcome To Graal;

Play around with this stuff, You will have fun =]
__________________
Reply With Quote