house/palace

hotlou

LOMCN Veteran
Veteran
Feb 5, 2004
468
0
92
Essex!
ok how do i do thm, do i make a npc and make a building thn get a key etc like give take blah , but thn how do i make it so nobody is sharing a house :S?!
 

ImapsI

Dedicated Member
Dedicated Member
Mar 10, 2004
148
0
42
well wat you could do is, for every 1 who has a house make a key for that 1 house, it will meen that every time some 1 wants a house they will have to ask you to make them 1 and a key, and you will have to put that key in the npc scripts.

well thats how i would do it ne ways
 

Smiler

Dedicated Member
Dedicated Member
Apr 23, 2004
22
0
27
United Kingdom
I think theres a command which, when you click on the npc, checks if your a certain name then teleports you in...

/Smiler
 

ImapsI

Dedicated Member
Dedicated Member
Mar 10, 2004
148
0
42
but then wouldnt that be like for just telein u into 1 room and seeing who is alowed in that room, well i gess you could have 30 npc, 1 for each person ¬.¬

you could say like

[@main]
Hello there, would you like to go to your house?\ \

<yep/@yes>

[@yes]
#if
checkitem bobskey 1
#act
mapmove d2345 123 123
break

#if
checkitem johnskey 1
#act
mapmove d234 123 123
break

#if
checkitem lukeskey 1
#act
mapmove d23 123 123
break

#if
checkitem robsskey 1
#act
mapmove d2 123 123
break

#if
checkitem alexskey 1
#act
mapmove d23456 123 123
#elsesay
im sorry you do not have a house

<make house/@make>

[@make]
bla bla bla 100 logs bla bla bla 2 keys.....

that might work, just made up so prob need checkin.
 
Last edited:

Smiler

Dedicated Member
Dedicated Member
Apr 23, 2004
22
0
27
United Kingdom
I think the best option is 2 have about 10 houses and 1 npc in each and make the npc which teles u in remember your name, and then make 20 palaces with an npc in and do the same :)

/Smiler
 

ImapsI

Dedicated Member
Dedicated Member
Mar 10, 2004
148
0
42
im gessing u were planning on telling him how to do that
 

hotlou

LOMCN Veteran
Veteran
Feb 5, 2004
468
0
92
Essex!
O.O lol, ok so copy the map, make like 10 keys say key1 key2 etc
then put each key 2 tht map and put the npc's inside?