Thread: Questions
View Single Post
  #7  
Old 12-04-2004, 06:47 AM
Slash-P2P Slash-P2P is offline
Banned
Join Date: May 2004
Location: Burning Blade
Posts: 941
Slash-P2P is on a distinguished road
Quote:
Originally Posted by xAndrewx
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 =]
He could just use the default sign function, which I bet he would understand better
Reply With Quote