[help] House problem *make a seperate house for each character*

06/06/2009 19:04 n0mansland#1
Ok so I made a house code like you would see in another post but they way I made it seems like everyone would be teleported to the same house. Here's an example of it.

Simple house...
Code:
                                        if (MyChar.InventoryContains(721170, 1))
		{
                                            MyChar.Teleport(1098, 32, 40);
                           }
The way it's put you can see it looks like everyone would be teleported to the same place. I haven't tried to see if you could see someone else in it because I don't have anyone else to try it with so if that's ok then thanks and if it isn't please help so everyone gets their own house.
06/06/2009 19:28 damianpesta#2
Quote:
Originally Posted by n0mansland View Post
Ok so I made a house code like you would see in another post but they way I made it seems like everyone would be teleported to the same house. Here's an example of it.

Simple house...
Code:
                                        if (MyChar.InventoryContains(721170, 1))
		{
                                            MyChar.Teleport(1098, 32, 40);
                           }
The way it's put you can see it looks like everyone would be teleported to the same place. I haven't tried to see if you could see someone else in it because I don't have anyone else to try it with so if that's ok then thanks and if it isn't please help so everyone gets their own house.
Well Infamous explained everything in another thread , search.And I dont think you'll be able to figure out what he said there anyway.
06/06/2009 19:29 tao4229#3
You need dynamic Map IDs.
I'll look into COEmu and release it, it's REALLY easy.