Thread: homes
View Single Post
Old 09-18-2002, 01:53 PM   #3
Dulan
Senior Member
 
Join Date: Apr 2002
Posts: 354
Dulan is on a distinguished road
Send a message via ICQ to Dulan
......is that an advert, or a response Blobule? It sure sounds like the former, and this board is NOT meant for advertisements.

Angel: I know of no snippets of this sort. Good luck finding any - it isn't particularly hard to code, but it does take some knowhow of the codebase.

The easiest way would be to add a 'string'-esque (char * for your base?) variable to a room, store the players name in there, and use simple ifcheck sequences from there. Of course, you may also want to make an integer variable in the player data, and store the vnum of their house in there for the property mob/XML stuff that you spoke of. Or a room pointer. (I'd personally go with the integer - it's easier to debug for most new people. But, the pointer would be easier to deal with.)

-D
Dulan is offline   Reply With Quote